From 9a6ac544dd5618e58ce107352124fd9b495e5c30 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Sun, 3 Feb 2019 05:12:50 +0200 Subject: - Fix Sandstorm open card on public board, part 2. Thanks to ChronikEwok ! --- client/components/swimlanes/swimlanes.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'client/components/swimlanes') 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 -- cgit v1.2.3-1-g7c22