summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-02-03 05:12:50 +0200
committerLauri Ojansivu <x@xet7.org>2019-02-03 05:12:50 +0200
commit9a6ac544dd5618e58ce107352124fd9b495e5c30 (patch)
tree6a752f3e40ee330e4b938935335ee35c3e6ad37e /client
parent06a1e2665536508009efa4783eb75e4630ee3f22 (diff)
downloadwekan-9a6ac544dd5618e58ce107352124fd9b495e5c30.tar.gz
wekan-9a6ac544dd5618e58ce107352124fd9b495e5c30.tar.bz2
wekan-9a6ac544dd5618e58ce107352124fd9b495e5c30.zip
- Fix Sandstorm open card on public board, part 2.
Thanks to ChronikEwok !
Diffstat (limited to 'client')
-rw-r--r--client/components/swimlanes/swimlanes.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/client/components/swimlanes/swimlanes.js b/client/components/swimlanes/swimlanes.js
index bf53fd28..ce327f54 100644
--- a/client/components/swimlanes/swimlanes.js
+++ b/client/components/swimlanes/swimlanes.js
@@ -5,8 +5,6 @@ function currentCardIsInThisList(listId, swimlaneId) {
const currentUser = Meteor.user();
if (currentUser && currentUser.profile.boardView === 'board-view-swimlanes')
return currentCard && currentCard.listId === listId && currentCard.swimlaneId === swimlaneId;
- else if (currentUser.profile.boardView === 'board-view-cal')
- return currentCard;
else // Default view: board-view-lists
return currentCard && currentCard.listId === listId;
// https://github.com/wekan/wekan/issues/1623