fix: make discarding the layout work again

This commit is contained in:
sokumon 2026-01-19 02:52:54 +05:30
parent eea8d95fba
commit 49ca32f7be

View file

@ -316,7 +316,7 @@ class DesktopPage {
this.desktop_pane.hide();
if (action === "cancel") {
frappe.new_desktop_icons = null;
this.sync_layout();
this.update();
return;
}
// submit