mirror of
https://github.com/wekan/wekan.git
synced 2026-02-03 15:11:48 +01:00
My Cards page development
* rename `findCards()` to `myBoards()` * return model objects for Boards, Swimlanes, Lists, and Cards. Previously created a data structure with limited properties. * Sort the myBoards data structure according to the `sort` property * add a `swimlane()` method in the cards model
This commit is contained in:
parent
0497d38c1d
commit
5e68362352
4 changed files with 67 additions and 56 deletions
|
|
@ -461,6 +461,10 @@ Cards.helpers({
|
|||
return Lists.findOne(this.listId);
|
||||
},
|
||||
|
||||
swimlane() {
|
||||
return Swimlanes.findOne(this.swimlaneId);
|
||||
},
|
||||
|
||||
board() {
|
||||
return Boards.findOne(this.boardId);
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue