diff options
author | Andrés Manelli <andresmanelli@gmail.com> | 2018-03-31 13:19:14 -0300 |
---|---|---|
committer | Andrés Manelli <andresmanelli@gmail.com> | 2018-03-31 13:19:14 -0300 |
commit | 679e50af6449a680f958256570e8b9f1944a3a92 (patch) | |
tree | ac322f2b16c7e7806326d3bcb6f80000984ec854 /client/components/lists/listsGroup.js | |
parent | 2e8f8924dd0d985ae4634450cfbef04e88e5d954 (diff) | |
download | wekan-679e50af6449a680f958256570e8b9f1944a3a92.tar.gz wekan-679e50af6449a680f958256570e8b9f1944a3a92.tar.bz2 wekan-679e50af6449a680f958256570e8b9f1944a3a92.zip |
Fix drag in lists view
Diffstat (limited to 'client/components/lists/listsGroup.js')
-rw-r--r-- | client/components/lists/listsGroup.js | 13 |
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'); |