From 226d25ca943e3be8256639f0fc9b517cb0c217a0 Mon Sep 17 00:00:00 2001 From: Nicu Tofan Date: Tue, 26 Jun 2018 19:55:23 +0300 Subject: Introducing third board view: calendar. A dependency to rzymek:fullcalendar has also been added. --- client/components/swimlanes/swimlanes.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client/components/swimlanes') diff --git a/client/components/swimlanes/swimlanes.js b/client/components/swimlanes/swimlanes.js index 7965c2bc..c67fe6af 100644 --- a/client/components/swimlanes/swimlanes.js +++ b/client/components/swimlanes/swimlanes.js @@ -7,6 +7,8 @@ function currentCardIsInThisList(listId, swimlaneId) { return currentCard && currentCard.listId === listId; else if (currentUser.profile.boardView === 'board-view-swimlanes') return currentCard && currentCard.listId === listId && currentCard.swimlaneId === swimlaneId; + else if (currentUser.profile.boardView === 'board-view-cal') + return currentCard; else return false; } -- cgit v1.2.3-1-g7c22