fix: exit edit mode after saving layout
This commit is contained in:
1 parent
2123f0e10e
commit
6e6b173e23
1 file changed
+1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user