fix(base_list): setup_filter_area error handling
This commit is contained in:
parent
69b0fcf06e
commit
b5ff562142
1 changed files with 3 additions and 1 deletions
|
|
@ -308,7 +308,9 @@ frappe.views.BaseList = class BaseList {
|
|||
this.filter_area = new FilterArea(this);
|
||||
|
||||
if (this.filters && this.filters.length > 0) {
|
||||
return this.filter_area.set(this.filters);
|
||||
return this.filter_area.set(this.filters).catch(() => {
|
||||
this.filter_area.clear(false);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue