mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-24 13:42:10 +01:00
fix: use same label
This commit is contained in:
@@ -221,7 +221,7 @@ website_route_rules = [
|
||||
|
||||
standard_navbar_items = [
|
||||
{
|
||||
"item_label": "Erase Demo Data",
|
||||
"item_label": "Delete Demo Data",
|
||||
"item_type": "Action",
|
||||
"action": "erpnext.demo.clear_demo();",
|
||||
"is_standard": 1,
|
||||
|
||||
@@ -2,7 +2,7 @@ frappe.provide("erpnext.demo");
|
||||
|
||||
$(document).on("desktop_screen", function (event, data) {
|
||||
data.desktop.add_menu_item({
|
||||
label: __("Clear Demo Data"),
|
||||
label: __("Delete Demo Data"),
|
||||
icon: "trash",
|
||||
condition: function () {
|
||||
return frappe.boot.sysdefaults.demo_company;
|
||||
|
||||
Reference in New Issue
Block a user