mirror of
https://github.com/wekan/wekan.git
synced 2026-01-04 16:48:49 +01:00
Move every Lists.find(idOrFirstObjectSelector, options) to the ReactiveCache (directory models/)
This commit is contained in:
parent
4a8dcde8ee
commit
6a4b03324c
9 changed files with 22 additions and 24 deletions
|
|
@ -246,8 +246,7 @@ BlazeComponent.extendComponent({
|
|||
Template.listMorePopup.events({
|
||||
'click .js-delete': Popup.afterConfirm('listDelete', function() {
|
||||
Popup.back();
|
||||
// TODO how can we avoid the fetch call?
|
||||
const allCards = this.allCards().fetch();
|
||||
const allCards = this.allCards();
|
||||
const allCardIds = _.pluck(allCards, '_id');
|
||||
// it's okay if the linked cards are on the same list
|
||||
if (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue