From 94953a1c9732f4f2fab30049942e8d984ac0b23e Mon Sep 17 00:00:00 2001 From: Martin Filser Date: Sat, 14 Jan 2023 17:55:36 +0100 Subject: [PATCH] use card.getRealId() --- client/components/lists/listBody.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/client/components/lists/listBody.js b/client/components/lists/listBody.js index 4e263c788..34457a3ec 100644 --- a/client/components/lists/listBody.js +++ b/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(),