diff options
author | Lauri Ojansivu <x@xet7.org> | 2018-05-19 14:10:53 +0300 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2018-05-19 14:10:53 +0300 |
commit | 9a509778d35bcbc0aab642f78d110c12e3f05c68 (patch) | |
tree | 2062456c966c712f408c89f4e227590c4b513877 /models/boards.js | |
parent | 5dafea405dbff1c64aa57e627e6f5a603dc784f1 (diff) | |
parent | 12b08b9915097d63e35d1443277ae0b39c40474a (diff) | |
download | wekan-9a509778d35bcbc0aab642f78d110c12e3f05c68.tar.gz wekan-9a509778d35bcbc0aab642f78d110c12e3f05c68.tar.bz2 wekan-9a509778d35bcbc0aab642f78d110c12e3f05c68.zip |
Merge branch 'devel'
Diffstat (limited to 'models/boards.js')
-rw-r--r-- | models/boards.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/models/boards.js b/models/boards.js index c863c5ce..44ce0b62 100644 --- a/models/boards.js +++ b/models/boards.js @@ -249,6 +249,10 @@ Boards.helpers({ return `board-color-${this.color}`; }, + customFields() { + return CustomFields.find({ boardId: this._id }, { sort: { name: 1 } }); + }, + // XXX currently mutations return no value so we have an issue when using addLabel in import // XXX waiting on https://github.com/mquandalle/meteor-collection-mutations/issues/1 to remove... pushLabel(name, color) { |