My Cards development

* only find client side cards of the user
This commit is contained in:
John R. Supplee 2021-01-02 00:17:03 +02:00
parent 0f6a60fa69
commit 7a419c1563
2 changed files with 6 additions and 2 deletions

View file

@ -31,6 +31,7 @@ BlazeComponent.extendComponent({
},
cardsFind() {
const userId = Meteor.userId();
const boards = [];
let board = null;
let swimlane = null;
@ -38,8 +39,8 @@ BlazeComponent.extendComponent({
const cursor = Cards.find(
{
// archived: false,
// $or: [{ members: userId }, { assignees: userId }],
archived: false,
$or: [{ members: userId }, { assignees: userId }],
},
{
sort: {