Explorar o código

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)
Lauri Ojansivu %!s(int64=2) %!d(string=hai) anos
pai
achega
b062eb8af4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      client/components/swimlanes/swimlanes.js

+ 1 - 1
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