fix: exit edit mode after saving layout

This commit is contained in:
ZacharyZcR committed 2025-10-09 09:54:46 +08:00
1 parent 2123f0e10e
commit 6e6b173e23
1 file changed
+1
+1
View File
@@ -158,6 +158,7 @@ export function Server({
} as any);
setHasUnsavedChanges(false);
setIsEditMode(false);
toast.success(t("serverStats.layoutSaved"));
window.dispatchEvent(new Event("ssh-hosts:changed"));
} catch (error) {