summaryrefslogtreecommitdiffstats
path: root/client/components/lists
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-03-31 19:38:33 +0300
committerLauri Ojansivu <x@xet7.org>2018-03-31 19:38:33 +0300
commit4505495762ba4db3604c45a6dc628c4a2e6cdf2c (patch)
treef4c2053f187dc5f3da328f96f575fb26de5b05bb /client/components/lists
parent5e88cb24cb6a3c4a0028bde7a7bff7fa5239f3f4 (diff)
parent679e50af6449a680f958256570e8b9f1944a3a92 (diff)
downloadwekan-4505495762ba4db3604c45a6dc628c4a2e6cdf2c.tar.gz
wekan-4505495762ba4db3604c45a6dc628c4a2e6cdf2c.tar.bz2
wekan-4505495762ba4db3604c45a6dc628c4a2e6cdf2c.zip
Merge branch 'fixDragInListsView' of https://github.com/andresmanelli/wekan into andresmanelli-fixDragInListsView
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');