mirror of
https://github.com/wekan/wekan.git
synced 2025-12-17 07:50:12 +01: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.listId === listId &&
|
||||||
currentCard.swimlaneId === swimlaneId
|
currentCard.swimlaneId === swimlaneId
|
||||||
);
|
);
|
||||||
// OLD: Default view: board-view-lists
|
else return currentCard && currentCard.listId === listId;
|
||||||
////else return currentCard && currentCard.listId === listId;
|
|
||||||
// NEW: Default view: board-view-swimlanes
|
|
||||||
else
|
|
||||||
return (
|
|
||||||
currentCard &&
|
|
||||||
currentCard.listId === listId &&
|
|
||||||
currentCard.swimlaneId === swimlaneId
|
|
||||||
);
|
|
||||||
|
|
||||||
// https://github.com/wekan/wekan/issues/1623
|
// https://github.com/wekan/wekan/issues/1623
|
||||||
// https://github.com/ChronikEwok/wekan/commit/cad9b20451bb6149bfb527a99b5001873b06c3de
|
// https://github.com/ChronikEwok/wekan/commit/cad9b20451bb6149bfb527a99b5001873b06c3de
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue