mirror of
https://github.com/wekan/wekan.git
synced 2026-01-06 01:28:49 +01:00
Add first draft of data model and user interface. No actions.
This commit is contained in:
parent
ef85b71ee4
commit
0a53ee87b9
14 changed files with 129 additions and 7 deletions
|
|
@ -107,6 +107,13 @@ Lists.attachSchema(new SimpleSchema({
|
|||
'saddlebrown', 'paleturquoise', 'mistyrose', 'indigo',
|
||||
],
|
||||
},
|
||||
type: {
|
||||
/**
|
||||
* The type of list
|
||||
*/
|
||||
type: String,
|
||||
defaultValue: 'list',
|
||||
},
|
||||
}));
|
||||
|
||||
Lists.allow({
|
||||
|
|
@ -169,6 +176,10 @@ Lists.helpers({
|
|||
return this.color;
|
||||
return '';
|
||||
},
|
||||
|
||||
isTemplateList() {
|
||||
return this.type === 'template-list';
|
||||
},
|
||||
});
|
||||
|
||||
Lists.mutations({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue