Merge pull request #15610 from surajshetty3416/toggle-theme-option

This commit is contained in:
Suraj Shetty 2022-01-14 09:16:24 +05:30 committed by GitHub
commit db5fab52ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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',