summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2020-06-08 17:33:38 +0300
committerLauri Ojansivu <x@xet7.org>2020-06-08 17:33:38 +0300
commit61e682470cdaef42cce2d74b41fb752cfc61848b (patch)
treefc8ca38a03adfe6eb549a6ec9442e554dbb3aea2 /client
parent415e94d187ffcb9a4afaecc5c6960a50a87ca7eb (diff)
downloadwekan-61e682470cdaef42cce2d74b41fb752cfc61848b.tar.gz
wekan-61e682470cdaef42cce2d74b41fb752cfc61848b.tar.bz2
wekan-61e682470cdaef42cce2d74b41fb752cfc61848b.zip
Default view Swimlanes part 2.
Thanks to xet7 !
Diffstat (limited to 'client')
-rw-r--r--client/components/swimlanes/swimlanes.js11
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