Skip to content

Commit cad9b20

Browse files
authored
Fix for Not displaying card content of public board: Snap, Docker and Sandstorm Shared Wekan Board Link
1 parent 484d495 commit cad9b20

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

client/components/swimlanes/swimlanes.js

+2-4
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@ const { calculateIndex } = Utils;
33
function currentCardIsInThisList(listId, swimlaneId) {
44
const currentCard = Cards.findOne(Session.get('currentCard'));
55
const currentUser = Meteor.user();
6-
if (currentUser.profile.boardView === 'board-view-lists')
7-
return currentCard && currentCard.listId === listId;
8-
else if (currentUser.profile.boardView === 'board-view-swimlanes')
6+
if (currentUser && currentUser.profile.boardView === 'board-view-swimlanes')
97
return currentCard && currentCard.listId === listId && currentCard.swimlaneId === swimlaneId;
108
else
11-
return false;
9+
return currentCard && currentCard.listId === listId;
1210
}
1311

1412
function initSortable(boardComponent, $listsDom) {

0 commit comments

Comments
 (0)