Shared Templates: In Progress. Hide this feature while it's not finished yet.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2021-06-29 14:03:47 +03:00
parent e0797c83f8
commit 3b4a44abb1
3 changed files with 7 additions and 6 deletions

View file

@ -88,7 +88,8 @@ BlazeComponent.extendComponent({
boards() {
const query = {
archived: false,
type: { $in: ['board','template-container'] },
//type: { $in: ['board','template-container'] },
type: 'board',
};
if (FlowRouter.getRouteName() === 'home')
query['members.userId'] = Meteor.userId();