fix: kanban filters fixes (#26605)
* fix(kanban): don't concat old cards after filter - this was messing up rendering filtered cards * fix: refresh not working without standard fields
This commit is contained in:
parent
0c01da43e9
commit
d09ef5431f
2 changed files with 4 additions and 1 deletions
|
|
@ -762,6 +762,10 @@ class FilterArea {
|
|||
}
|
||||
return frappe.run_serially(promises).then(() => {
|
||||
this.trigger_refresh = true;
|
||||
if (promises.length === 0) {
|
||||
// refresh if there are no standard fields
|
||||
this.debounced_refresh_list_view();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -53,7 +53,6 @@ frappe.provide("frappe.views");
|
|||
var state = context.state;
|
||||
var _cards = cards
|
||||
.map((card) => prepare_card(card, state))
|
||||
.concat(state.cards)
|
||||
.uniqBy((card) => card.name);
|
||||
|
||||
context.commit("update_state", {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue