From 413b119ec66d20ac41f0bc653f2ef54dd0a0e7e6 Mon Sep 17 00:00:00 2001 From: sokumon Date: Wed, 11 Mar 2026 13:29:58 +0530 Subject: [PATCH] fix: add icon in clear demo data --- erpnext/hooks.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/erpnext/hooks.py b/erpnext/hooks.py index 03391161ed2..988dca23977 100644 --- a/erpnext/hooks.py +++ b/erpnext/hooks.py @@ -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", }, ]