Fix miniscreen render

This commit is contained in:
Andrés Manelli 2019-02-24 11:54:52 +01:00
parent eb62c9ce6a
commit 775476f97c
5 changed files with 24 additions and 21 deletions

View file

@ -112,9 +112,9 @@ Swimlanes.helpers({
archived: false,
}).forEach((list) => {
list.type = 'list';
list.swimlaneId = _id;
list.swimlaneId = '';
list.boardId = this.boardId;
list.copy();
list.copy(_id);
});
},
@ -127,7 +127,8 @@ Swimlanes.helpers({
lists() {
return Lists.find(Filter.mongoSelector({
swimlaneId: this._id,
boardId: this.boardId,
swimlaneId: {$in: [this._id, '']},
archived: false,
}), { sort: ['sort'] });
},