Merge pull request #4610 from Emile840/master

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:
Lauri Ojansivu 2022-07-29 19:41:52 +03:00 committed by GitHub
commit b062eb8af4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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