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

@ -56,7 +56,7 @@ Meteor.publish('mySwimlanes', function() {
return Swimlanes.find(
{
archived: false,
// archived: false,
_id: { $in: swimlanes },
},
{
@ -88,7 +88,7 @@ Meteor.publish('myLists', function() {
return Lists.find(
{
archived: false,
// archived: false,
_id: { $in: lists },
},
{