fixup! Ref: original & and use fileObj.meta

This commit is contained in:
David Arnold 2020-09-16 18:56:45 -05:00 committed by Denis Perov
parent be712541d5
commit d0a27aaec2

View file

@ -234,7 +234,7 @@ Meteor.publishRelations('board', function(boardId, isArchived) {
const cardCommentReactions = this.join(CardCommentReactions);
cardCommentReactions.selector = _ids => ({ cardId: _ids });
const attachments = this.join(Attachments.collection);
attachments.selector = _ids => ({ cardId: _ids });
attachments.selector = _ids => ({ 'meta.cardId': _ids });
const checklists = this.join(Checklists);
checklists.selector = _ids => ({ cardId: _ids });
const checklistItems = this.join(ChecklistItems);