fix: list_view_settings can be missing (#32048)
This commit is contained in:
parent
5f35b8e5f7
commit
0da49edc8f
1 changed files with 3 additions and 1 deletions
|
|
@ -644,7 +644,9 @@ frappe.views.ListView = class ListView extends frappe.views.BaseList {
|
|||
}
|
||||
|
||||
render_count() {
|
||||
if (this.list_view_settings.disable_count) return;
|
||||
if (this.list_view_settings?.disable_count) {
|
||||
return;
|
||||
}
|
||||
|
||||
let me = this;
|
||||
let $count = this.get_count_element();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue