mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
Fix condition whether a card is in list
This fixes the issues https://github.com/wekan/wekan/issues/3164, https://github.com/wekan/wekan/issues/3162, and https://github.com/wekan/wekan/issues/3163. While at it, remove now useless comments.
This commit is contained in:
parent
2a25318ba8
commit
1aa8f502ae
1 changed files with 1 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue