Agent Zero AI framework
reset isSaving before closing file edit modal
3clyp508f0bae7ba456
diff --git a/webui/components/modals/file-editor/file-editor-store.js b/webui/components/modals/file-editor/file-editor-store.jsindex d8aff4b89..b78d8eaf9 100644--- a/webui/components/modals/file-editor/file-editor-store.js+++ b/webui/components/modals/file-editor/file-editor-store.js@@ -175,12 +175,13 @@ const model = {await this.onSaveSuccess();}+ // Reset isSaving before closing so beforeCloseFileEditor() allows it+ this.isSaving = false;this.closeFileEditor();} catch (error) {const message = error?.message || "Failed to save file";this.editSaveError = message;window.toastFrontendError(message, "Save File Error");- } finally {this.isSaving = false;}},