summaryrefslogtreecommitdiffstats
path: root/client/components/lists
diff options
context:
space:
mode:
Diffstat (limited to 'client/components/lists')
-rw-r--r--client/components/lists/listsGroup.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/client/components/lists/listsGroup.js b/client/components/lists/listsGroup.js
deleted file mode 100644
index f94f681f..00000000
--- a/client/components/lists/listsGroup.js
+++ /dev/null
@@ -1,13 +0,0 @@
-BlazeComponent.extendComponent({
- currentCardIsInThisList(listId, swimlaneId) {
- const currentCard = Cards.findOne(Session.get('currentCard'));
- const currentBoardId = Session.get('currentBoard');
- const board = Boards.findOne(currentBoardId);
- if (board.view === 'board-view-lists')
- return currentCard && currentCard.listId === listId;
- else if (board.view === 'board-view-swimlanes')
- return currentCard && currentCard.listId === listId && currentCard.swimlaneId === swimlaneId;
- else
- return false;
- },
-}).register('listsGroup');