From a52c6cfd67b3412f21a77689ba87cf8ebc23d1e4 Mon Sep 17 00:00:00 2001 From: sokumon Date: Wed, 5 Nov 2025 12:15:29 +0530 Subject: [PATCH] fix: add a db commit after adding icons in the command --- frappe/commands/site.py | 1 + 1 file changed, 1 insertion(+) diff --git a/frappe/commands/site.py b/frappe/commands/site.py index 68ef902ff7..b7958ecfa3 100644 --- a/frappe/commands/site.py +++ b/frappe/commands/site.py @@ -1603,6 +1603,7 @@ def create_icons_and_sidebar(context: CliCtxObj): create_desktop_icons() print("Creating Workspace Sidebars") create_workspace_sidebar_for_workspaces() + frappe.db.commit() except Exception as e: print(f"Error creating icons {site}: {e}") finally: