Skip to content

Commit

Permalink
fix: Dashboard view realtime error (#24698)
Browse files Browse the repository at this point in the history
filter_area doesn't exist on DashboardView, so this inherited function
breaks down.
  • Loading branch information
ankush committed Feb 2, 2024
1 parent d26c67d commit 380b33d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frappe/public/js/frappe/list/list_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -1520,7 +1520,7 @@ frappe.views.ListView = class ListView extends frappe.views.BaseList {
}

avoid_realtime_update() {
if (this.filter_area.is_being_edited()) {
if (this.filter_area?.is_being_edited()) {
return true;
}
// this is set when a bulk operation is called from a list view which might update the list view
Expand Down

0 comments on commit 380b33d

Please sign in to comment.