mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
- Fix Sandstorm open card on public board, part 2.
Thanks to ChronikEwok !
This commit is contained in:
parent
06a1e26655
commit
9a6ac544dd
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue