mirror of
https://github.com/wekan/wekan.git
synced 2026-01-06 01:28:49 +01:00
Introducing third board view: calendar.
A dependency to rzymek:fullcalendar has also been added.
This commit is contained in:
parent
43dde4a10f
commit
226d25ca94
8 changed files with 21 additions and 2 deletions
|
|
@ -98,6 +98,12 @@ BlazeComponent.extendComponent({
|
|||
return (currentUser.profile.boardView === 'board-view-lists');
|
||||
},
|
||||
|
||||
isViewCalendar() {
|
||||
const currentUser = Meteor.user();
|
||||
if (!currentUser) return true;
|
||||
return (currentUser.profile.boardView === 'board-view-cal');
|
||||
},
|
||||
|
||||
openNewListForm() {
|
||||
if (this.isViewSwimlanes()) {
|
||||
this.childComponents('swimlane')[0]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue