Skip to content

Commit 9a6ac54

Browse files
committed
- Fix Sandstorm open card on public board, part 2.
Thanks to ChronikEwok !
1 parent 06a1e26 commit 9a6ac54

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

client/components/swimlanes/swimlanes.js

-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ function currentCardIsInThisList(listId, swimlaneId) {
55
const currentUser = Meteor.user();
66
if (currentUser && currentUser.profile.boardView === 'board-view-swimlanes')
77
return currentCard && currentCard.listId === listId && currentCard.swimlaneId === swimlaneId;
8-
else if (currentUser.profile.boardView === 'board-view-cal')
9-
return currentCard;
108
else // Default view: board-view-lists
119
return currentCard && currentCard.listId === listId;
1210
// https://github.com/wekan/wekan/issues/1623

0 commit comments

Comments
 (0)