use card.getRealId()

This commit is contained in:
Martin Filser 2023-01-14 17:55:36 +01:00
parent 02e9795816
commit 94953a1c97

View file

@ -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(),