From 404fbacc41fae11e2a181b6da0343487bfeedb99 Mon Sep 17 00:00:00 2001 From: Emile840 Date: Thu, 28 Jul 2022 19:15:15 +0200 Subject: [PATCH] Fix the bug that displayed a card popup to all swimlanes for public board (when a user is not logged) --- client/components/swimlanes/swimlanes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/components/swimlanes/swimlanes.js b/client/components/swimlanes/swimlanes.js index fca807d8a..3f99841d3 100644 --- a/client/components/swimlanes/swimlanes.js +++ b/client/components/swimlanes/swimlanes.js @@ -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