Change default view to Swimlanes.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2020-06-08 17:28:53 +03:00
parent f935cf391e
commit 8c3322f9a9
4 changed files with 27 additions and 20 deletions

View file

@ -23,8 +23,15 @@ function currentCardIsInThisList(listId, swimlaneId) {
currentCard.listId === listId &&
currentCard.swimlaneId === swimlaneId
);
// Default view: board-view-lists
else return currentCard && currentCard.listId === listId;
// 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
);
// https://github.com/wekan/wekan/issues/1623
// https://github.com/ChronikEwok/wekan/commit/cad9b20451bb6149bfb527a99b5001873b06c3de
// TODO: In public board, if you would like to switch between List/Swimlane view, you could