fix: Hide empty categories in Show / Hide Cards dialog (#7215)
This commit is contained in:
parent
bb1d5f7107
commit
f31e8f0ffa
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ export default {
|
|||
});
|
||||
const d = new frappe.ui.Dialog({
|
||||
title: __('Show / Hide Cards'),
|
||||
fields,
|
||||
fields: fields.filter(f => f.options.length > 0),
|
||||
primary_action_label: __('Save'),
|
||||
primary_action: (values) => {
|
||||
let all_modules = this.modules.map(m => m.module_name);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue