Skip to content

Commit

Permalink
fix: allow setting dynamic filters for number cards even without deve…
Browse files Browse the repository at this point in the history
…loper mode

This fixes e4b3a3f

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
(cherry picked from commit 178dd89)
  • Loading branch information
akhilnarang authored and mergify[bot] committed Apr 22, 2024
1 parent 8a4e219 commit 7d5b443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frappe/desk/doctype/number_card/number_card.js
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ frappe.ui.form.on("Number Card", {
},

render_dynamic_filters_table(frm) {
if (!frappe.boot.developer_mode || frm.doc.type == "Custom") {
if (frm.doc.type == "Custom") {
return;
}

Expand Down

0 comments on commit 7d5b443

Please sign in to comment.