Add first draft of data model and user interface. No actions.

This commit is contained in:
Andrés Manelli 2019-02-22 22:59:19 +01:00
parent ef85b71ee4
commit 0a53ee87b9
14 changed files with 129 additions and 7 deletions

View file

@ -246,7 +246,7 @@ Cards.attachSchema(new SimpleSchema({
* type of the card
*/
type: String,
defaultValue: '',
defaultValue: 'cardType-card',
},
linkedId: {
/**
@ -930,6 +930,10 @@ Cards.helpers({
return this.assignedBy;
}
},
isTemplateCard() {
return this.type === 'template-card';
},
});
Cards.mutations({