First swimlane draft, no functionality

This commit is contained in:
Andrés Manelli 2018-01-19 12:22:03 -03:00
parent 8b6a2eade3
commit 690a5b9703
16 changed files with 474 additions and 173 deletions

View file

@ -36,6 +36,7 @@ BlazeComponent.extendComponent({
const members = formComponent.members.get();
const labelIds = formComponent.labels.get();
const swimlaneId = this.parentComponent().parentComponent().data()._id;
if (title) {
const _id = Cards.insert({
title,
@ -44,6 +45,7 @@ BlazeComponent.extendComponent({
listId: this.data()._id,
boardId: this.data().board()._id,
sort: sortIndex,
swimlaneId: swimlaneId,
});
// In case the filter is active we need to add the newly inserted card in
// the list of exceptions -- cards that are not filtered. Otherwise the