diff options
author | IgnatzHome <ignatz@maschath.de> | 2018-05-17 20:21:07 +0200 |
---|---|---|
committer | IgnatzHome <ignatz@maschath.de> | 2018-05-17 20:21:07 +0200 |
commit | 9518a5c11ee5bc8556ad7af2d0bef1aa8ae47874 (patch) | |
tree | 47ffe9a487aa6d66bbb4cd327ca248c4b30fda4a /models/boards.js | |
parent | c0c7b269a794fb28ddf5ffc17744f6724041de96 (diff) | |
parent | 8b16955cc27b29ae507be084adccc4fad61b05ef (diff) | |
download | wekan-9518a5c11ee5bc8556ad7af2d0bef1aa8ae47874.tar.gz wekan-9518a5c11ee5bc8556ad7af2d0bef1aa8ae47874.tar.bz2 wekan-9518a5c11ee5bc8556ad7af2d0bef1aa8ae47874.zip |
resolving merge conflicts
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) { |