Переглянути джерело

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 2 роки тому
батько
коміт
b062eb8af4
1 змінених файлів з 1 додано та 1 видалено
  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