Add view boards field to change between views

This commit is contained in:
Andrés Manelli 2018-01-22 16:54:19 -03:00
parent 2d7d9b5d9f
commit a14f4ffee2
5 changed files with 44 additions and 0 deletions

View file

@ -31,6 +31,14 @@ Boards.attachSchema(new SimpleSchema({
}
},
},
view: {
type: String,
autoValue() { // eslint-disable-line consistent-return
if (this.isInsert) {
return 'board-view-swimlanes';
}
},
},
createdAt: {
type: Date,
autoValue() { // eslint-disable-line consistent-return