mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-01-26 19:09:52 +00:00
fix: Fix infinite recursion in mask upload retry logic (#2181)
This commit is contained in:
@@ -1125,7 +1125,7 @@ class MaskEditorDialog extends ComfyDialog {
|
||||
.then((response) => {
|
||||
if (!response.ok) {
|
||||
console.log('Failed to upload mask:', response)
|
||||
this.uploadMask(filepath, formData, 2)
|
||||
this.uploadMask(filepath, formData, retries - 1)
|
||||
}
|
||||
})
|
||||
.catch((error) => {
|
||||
|
||||
Reference in New Issue
Block a user