浏览代码

use card.getRealId()

Martin Filser 2 年之前
父节点
当前提交
94953a1c97
共有 1 个文件被更改,包括 1 次插入3 次删除
  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(),