fix: add a db commit after adding icons in the command

This commit is contained in:
sokumon 2025-11-05 12:15:29 +05:30
parent f6819fa6e9
commit a52c6cfd67

View file

@ -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: