diff options
author | Andrés Manelli <andresmanelli@gmail.com> | 2018-01-31 13:02:50 -0300 |
---|---|---|
committer | Andrés Manelli <andresmanelli@gmail.com> | 2018-01-31 14:13:14 -0300 |
commit | f6fb05d3f49c656e9890351f5d7c0827bf2605c1 (patch) | |
tree | 9f575badb9ab540749594a9a1c791479192db640 /client/components/swimlanes/swimlanes.js | |
parent | 8102ee5b4ffedc1cd640d6858fbd50fbb0cbbbc5 (diff) | |
download | wekan-f6fb05d3f49c656e9890351f5d7c0827bf2605c1.tar.gz wekan-f6fb05d3f49c656e9890351f5d7c0827bf2605c1.tar.bz2 wekan-f6fb05d3f49c656e9890351f5d7c0827bf2605c1.zip |
Fix card details bug
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() { |