Browse Source

Merge branch 'marc1006-issue_3164'

Lauri Ojansivu 5 năm trước cách đây
mục cha
commit
20da91b774
1 tập tin đã thay đổi với 1 bổ sung9 xóa
  1. 1 9
      client/components/swimlanes/swimlanes.js

+ 1 - 9
client/components/swimlanes/swimlanes.js

@@ -23,15 +23,7 @@ function currentCardIsInThisList(listId, swimlaneId) {
       currentCard.listId === listId &&
       currentCard.swimlaneId === swimlaneId
     );
-  // OLD: Default view: board-view-lists
-  ////else return currentCard && currentCard.listId === listId;
-  // NEW: Default view: board-view-swimlanes
-  else
-    return (
-      currentCard &&
-      currentCard.listId === listId &&
-      currentCard.swimlaneId === swimlaneId
-    );
+  else return currentCard && currentCard.listId === listId;
 
   // https://github.com/wekan/wekan/issues/1623
   // https://github.com/ChronikEwok/wekan/commit/cad9b20451bb6149bfb527a99b5001873b06c3de