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:
John R. Supplee 2021-01-04 22:08:09 +02:00
parent 0497d38c1d
commit 5e68362352
4 changed files with 67 additions and 56 deletions

View file

@ -461,6 +461,10 @@ Cards.helpers({
return Lists.findOne(this.listId);
},
swimlane() {
return Swimlanes.findOne(this.swimlaneId);
},
board() {
return Boards.findOne(this.boardId);
},