From 61e682470cdaef42cce2d74b41fb752cfc61848b Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 8 Jun 2020 17:33:38 +0300 Subject: Default view Swimlanes part 2. Thanks to xet7 ! --- client/components/swimlanes/swimlanes.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'client') 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 -- cgit v1.2.3-1-g7c22