mirror of
https://github.com/wekan/wekan.git
synced 2026-01-04 16:48:49 +01:00
Added ability to change card's parent.
This commit is contained in:
parent
439d7c3dbc
commit
b7d508e8c4
5 changed files with 157 additions and 31 deletions
|
|
@ -220,6 +220,10 @@ Boards.helpers({
|
|||
return Swimlanes.find({ boardId: this._id, archived: false }, { sort: { sort: 1 } });
|
||||
},
|
||||
|
||||
cards() {
|
||||
return Cards.find({ boardId: this._id, archived: false }, { sort: { sort: 1 } });
|
||||
},
|
||||
|
||||
hasOvertimeCards(){
|
||||
const card = Cards.findOne({isOvertime: true, boardId: this._id, archived: false} );
|
||||
return card !== undefined;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue