mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Now new boards do not have any labels added by default.
Thanks to tedkoch and xet7 ! Related https://github.com/wekan/wekan/discussions/3835#discussioncomment-836223 Issue 7.
This commit is contained in:
parent
48737dcd01
commit
481404e8d7
1 changed files with 3 additions and 0 deletions
|
@ -109,6 +109,8 @@ Boards.attachSchema(
|
|||
* List of labels attached to a board
|
||||
*/
|
||||
type: [Object],
|
||||
optional: true,
|
||||
/* Commented out, so does not create labels to new boards.
|
||||
// eslint-disable-next-line consistent-return
|
||||
autoValue() {
|
||||
if (this.isInsert && !this.isSet) {
|
||||
|
@ -122,6 +124,7 @@ Boards.attachSchema(
|
|||
}));
|
||||
}
|
||||
},
|
||||
*/
|
||||
},
|
||||
'labels.$._id': {
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue