fix: add icon in clear demo data

(cherry picked from commit 413b119ec6)
This commit is contained in:
sokumon
2026-03-11 13:29:58 +05:30
committed by Mergify
parent 1786c04298
commit 0c9ce9306f

View File

@@ -221,11 +221,12 @@ website_route_rules = [
standard_navbar_items = [
{
"item_label": "Clear Demo Data",
"item_label": "Erase Demo Data",
"item_type": "Action",
"action": "erpnext.demo.clear_demo();",
"is_standard": 1,
"condition": "eval: frappe.boot.sysdefaults.demo_company",
"condition": "eval: frappe.boot.sysdefaults.demo_company && frappe.boot.sysdefaults.demo_company.length > 0",
"icon": "trash",
},
]