diff options
author | Lauri Ojansivu <x@xet7.org> | 2020-06-08 17:33:38 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2020-06-08 17:33:38 +0300 |
commit | 61e682470cdaef42cce2d74b41fb752cfc61848b (patch) | |
tree | fc8ca38a03adfe6eb549a6ec9442e554dbb3aea2 /client/components | |
parent | 415e94d187ffcb9a4afaecc5c6960a50a87ca7eb (diff) | |
download | wekan-61e682470cdaef42cce2d74b41fb752cfc61848b.tar.gz wekan-61e682470cdaef42cce2d74b41fb752cfc61848b.tar.bz2 wekan-61e682470cdaef42cce2d74b41fb752cfc61848b.zip |
Default view Swimlanes part 2.
Thanks to xet7 !
Diffstat (limited to 'client/components')
-rw-r--r-- | client/components/swimlanes/swimlanes.js | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/client/components/swimlanes/swimlanes.js b/client/components/swimlanes/swimlanes.js index bfb07530..afd5da22 100644 --- a/client/components/swimlanes/swimlanes.js +++ b/client/components/swimlanes/swimlanes.js @@ -26,11 +26,12 @@ function currentCardIsInThisList(listId, 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 && + currentCard.swimlaneId === swimlaneId + ); // https://github.com/wekan/wekan/issues/1623 // https://github.com/ChronikEwok/wekan/commit/cad9b20451bb6149bfb527a99b5001873b06c3de |