Kaynağa Gözat

use card.getRealId()

Martin Filser 2 yıl önce
ebeveyn
işleme
94953a1c97
1 değiştirilmiş dosya ile 1 ekleme ve 3 silme
  1. 1 3
      client/components/lists/listBody.js

+ 1 - 3
client/components/lists/listBody.js

@@ -484,9 +484,7 @@ BlazeComponent.extendComponent({
     if (!this.board) {
       return [];
     }
-    const ownCardsIds = this.board.cards().map(card => {
-      return card.linkedId || card._id;
-    });
+    const ownCardsIds = this.board.cards().map(card => card.getRealId());
     return Cards.find({
       boardId: this.selectedBoardId.get(),
       swimlaneId: this.selectedSwimlaneId.get(),