mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Change default view to Swimlanes.
Thanks to xet7 !
This commit is contained in:
parent
f935cf391e
commit
8c3322f9a9
4 changed files with 27 additions and 20 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue