Skip to content

Commit

Permalink
fix: developer mode in website theme (#22958) (#22996)
Browse files Browse the repository at this point in the history
[skip ci]

(cherry picked from commit 36ad7e0)

Co-authored-by: Thomas Fojan <thomas@tmf.one>
  • Loading branch information
mergify[bot] and TMF42 committed Oct 30, 2023
1 parent 3e7821b commit e68e7ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frappe/website/doctype/website_theme/website_theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ frappe.ui.form.on("Website Theme", {

refresh(frm) {
frm.clear_custom_buttons();
frm.toggle_display(["module", "custom"], !frappe.boot.developer_mode);
frm.toggle_display(["module", "custom"], frappe.boot.developer_mode);

frm.trigger("set_default_theme_button_and_indicator");
frm.trigger("make_app_theme_selector");
Expand Down

0 comments on commit e68e7ee

Please sign in to comment.