Browse Source

fix: Add toggle theme as standard dropdown option

- For new sites toggle theme was not available. It was added via patch for old sites.
version-14
Suraj Shetty 3 years ago
parent
commit
645f23a9a7
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      frappe/utils/install.py

+ 6
- 0
frappe/utils/install.py View File

@@ -219,6 +219,12 @@ def add_standard_navbar_items():
'action': 'frappe.ui.toolbar.toggle_full_width()',
'is_standard': 1
},
{
'item_label': 'Toggle Theme',
'item_type': 'Action',
'action': 'new frappe.ui.ThemeSwitcher().show()',
'is_standard': 1
},
{
'item_label': 'Background Jobs',
'item_type': 'Route',


Loading…
Cancel
Save