fix: Report shortcut error in Workspace
This commit is contained in:
parent
a49b40c2b9
commit
e2dfa7c8fd
1 changed files with 3 additions and 1 deletions
|
|
@ -1839,7 +1839,9 @@ Object.assign(frappe.utils, {
|
|||
},
|
||||
|
||||
process_filter_expression(filter) {
|
||||
return this.cleanup_filters(new Function(`return ${filter}`)());
|
||||
let filters = [];
|
||||
filters = filter ? new Function(`return ${filter}`)() : [];
|
||||
return this.cleanup_filters(filters);
|
||||
},
|
||||
cleanup_filters(filters) {
|
||||
if (filters.length && filters[0].length == 5) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue