diff options
author | Pouyan Savoli <papoola@hotmail.com> | 2017-08-30 02:54:54 +0200 |
---|---|---|
committer | Pouyan Savoli <papoola@hotmail.com> | 2017-09-22 22:59:32 +0200 |
commit | d87191f17ee1cd49def9ca5a4d3d1568b041e6a2 (patch) | |
tree | f5cb0645508dcb23aa2c50d0e93d18f39eb41a08 /client/components/lists/listBody.js | |
parent | afd87e3caa1fedbe8fe5dbaefa485fee1ed85c71 (diff) | |
download | wekan-d87191f17ee1cd49def9ca5a4d3d1568b041e6a2.tar.gz wekan-d87191f17ee1cd49def9ca5a4d3d1568b041e6a2.tar.bz2 wekan-d87191f17ee1cd49def9ca5a4d3d1568b041e6a2.zip |
card model and card ui preparation for custom fields
Diffstat (limited to 'client/components/lists/listBody.js')
-rw-r--r-- | client/components/lists/listBody.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/client/components/lists/listBody.js b/client/components/lists/listBody.js index 724e805b..edac5b03 100644 --- a/client/components/lists/listBody.js +++ b/client/components/lists/listBody.js @@ -35,12 +35,17 @@ BlazeComponent.extendComponent({ const members = formComponent.members.get(); const labelIds = formComponent.labels.get(); + const customFields = formComponent.customFields.get(); + console.log("members", members); + console.log("labelIds", labelIds); + console.log("customFields", customFields); if (title) { const _id = Cards.insert({ title, members, labelIds, + customFields, listId: this.data()._id, boardId: this.data().board()._id, sort: sortIndex, @@ -121,11 +126,13 @@ BlazeComponent.extendComponent({ onCreated() { this.labels = new ReactiveVar([]); this.members = new ReactiveVar([]); + this.customFields = new ReactiveVar([]); }, reset() { this.labels.set([]); this.members.set([]); + this.customFields.set([]); }, getLabels() { |