Started work on library node insert forms

This commit is contained in:
Stefan Zermatten
2019-06-27 16:52:28 +02:00
parent bd4fb58935
commit 9757da2cae
10 changed files with 173 additions and 8 deletions

View File

@@ -46,6 +46,7 @@ Meteor.publish('library', function(libraryId){
const user = Meteor.user();
const userId = user && user._id;
if (!userId) return [];
const subs = user && user.subscribedLibraries || [];
let libraryCursor = Libraries.find({
_id: libraryId,
$or: [