summaryrefslogtreecommitdiffstats
path: root/client/components/swimlanes/swimlanes.js
diff options
context:
space:
mode:
authorNicu Tofan <nicu.tofan@gmail.com>2018-06-26 19:55:23 +0300
committerNicu Tofan <nicu.tofan@gmail.com>2018-06-26 19:55:23 +0300
commit226d25ca943e3be8256639f0fc9b517cb0c217a0 (patch)
treeb03de764d9675d8a89138668cb5b7a5942b825ad /client/components/swimlanes/swimlanes.js
parent43dde4a10fc7980089f9344a7be04b8fe673cf28 (diff)
downloadwekan-226d25ca943e3be8256639f0fc9b517cb0c217a0.tar.gz
wekan-226d25ca943e3be8256639f0fc9b517cb0c217a0.tar.bz2
wekan-226d25ca943e3be8256639f0fc9b517cb0c217a0.zip
Introducing third board view: calendar.
A dependency to rzymek:fullcalendar has also been added.
Diffstat (limited to 'client/components/swimlanes/swimlanes.js')
-rw-r--r--client/components/swimlanes/swimlanes.js2
1 files changed, 2 insertions, 0 deletions
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;
}