fix: exit edit mode after saving layout

This commit is contained in:
ZacharyZcR
2025-10-09 09:54:46 +08:00
parent 2123f0e10e
commit 6e6b173e23

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) {