many custom fields model and UI enhancements

This commit is contained in:
Pouyan Savoli 2017-08-27 22:31:24 +02:00
parent ade3c02122
commit afd87e3caa
13 changed files with 153 additions and 63 deletions

View file

@ -235,6 +235,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) {