mirror of
https://github.com/wekan/wekan.git
synced 2026-01-02 07:38:49 +01:00
Add view boards field to change between views
This commit is contained in:
parent
2d7d9b5d9f
commit
a14f4ffee2
5 changed files with 44 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue