mirror of
https://github.com/wekan/wekan.git
synced 2026-02-12 03:04:22 +01:00
Add UI for importing card-as-card and board-as-card
This commit is contained in:
parent
193af893ee
commit
dcc7b2970f
8 changed files with 199 additions and 1 deletions
|
|
@ -212,6 +212,10 @@ Boards.helpers({
|
|||
return this.permission === 'public';
|
||||
},
|
||||
|
||||
cards() {
|
||||
return Cards.find({ boardId: this._id, archived: false }, { sort: { title: 1 } });
|
||||
},
|
||||
|
||||
lists() {
|
||||
return Lists.find({ boardId: this._id, archived: false }, { sort: { sort: 1 } });
|
||||
},
|
||||
|
|
|
|||
|
|
@ -133,6 +133,13 @@ Cards.attachSchema(new SimpleSchema({
|
|||
defaultValue: -1,
|
||||
optional: true,
|
||||
},
|
||||
type: {
|
||||
type: String,
|
||||
},
|
||||
importedId: {
|
||||
type: String,
|
||||
optional: true,
|
||||
},
|
||||
}));
|
||||
|
||||
Cards.allow({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue