Introducing third board view: calendar.

A dependency to rzymek:fullcalendar has also been added.
This commit is contained in:
Nicu Tofan 2018-06-26 19:55:23 +03:00
parent 43dde4a10f
commit 226d25ca94
No known key found for this signature in database
GPG key ID: 7EE66E95E64FD0B7
8 changed files with 21 additions and 2 deletions

View file

@ -45,7 +45,7 @@ BlazeComponent.extendComponent({
const boardView = Meteor.user().profile.boardView;
if (boardView === 'board-view-swimlanes')
swimlaneId = this.parentComponent().parentComponent().data()._id;
else if (boardView === 'board-view-lists')
else if ((boardView === 'board-view-lists') || (boardView === 'board-view-cal'))
swimlaneId = Swimlanes.findOne({boardId})._id;
if (title) {