Skip to content

Commit

Permalink
perf: memory leak on kanban refresh (#26597)
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush committed May 29, 2024
1 parent 5d75325 commit dce308b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ frappe.provide("frappe.views");
// update cards internally
opts.cards = cards;

if (self.wrapper.find(".kanban").length > 0 && self.cur_list.start !== 0) {
if (self.wrapper.find(".kanban").length > 0) {
store.dispatch("update_cards", cards);
} else {
init();
Expand Down

0 comments on commit dce308b

Please sign in to comment.