diff options
Diffstat (limited to 'client/components/swimlanes/swimlanes.js')
-rw-r--r-- | client/components/swimlanes/swimlanes.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/client/components/swimlanes/swimlanes.js b/client/components/swimlanes/swimlanes.js index 397f9e9b..68039b17 100644 --- a/client/components/swimlanes/swimlanes.js +++ b/client/components/swimlanes/swimlanes.js @@ -28,10 +28,9 @@ BlazeComponent.extendComponent({ }); }, - currentCardIsInThisList() { + currentCardIsInThisList(listId, swimlaneId) { const currentCard = Cards.findOne(Session.get('currentCard')); - const listId = this.currentData()._id; - return currentCard && currentCard.listId === listId; //TODO: AND IN THIS SWIMLANE + return currentCard && currentCard.listId === listId && currentCard.swimlaneId === swimlaneId; }, events() { |