Fix the bug that displayed a card popup to all swimlanes for public board (when a user is not logged)

This commit is contained in:
Emile840 2022-07-28 19:15:15 +02:00
parent 986b8e0463
commit 404fbacc41

View file

@ -21,7 +21,7 @@ function currentCardIsInThisList(listId, swimlaneId) {
currentCard.listId === listId &&
currentCard.swimlaneId === swimlaneId
);
else return currentCard && currentCard.listId === listId;
else return currentCard && currentCard.listId === listId && currentCard.swimlaneId === swimlaneId;
// https://github.com/wekan/wekan/issues/1623
// https://github.com/ChronikEwok/wekan/commit/cad9b20451bb6149bfb527a99b5001873b06c3de