References now merge children, fixed infinite reference loops

This commit is contained in:
Stefan Zermatten
2021-09-05 18:51:29 +02:00
parent 7f95680559
commit fc0cc6e689
3 changed files with 25 additions and 31 deletions

View File

@@ -4,7 +4,6 @@ import LibraryNodes from '/imports/api/library/LibraryNodes.js';
import { assertViewPermission } from '/imports/api/sharing/sharingPermissions.js';
Meteor.publish('selectedLibraryNodes', function(selectedNodeIds){
console.log('attempting selectedLibraryNodes')
check(selectedNodeIds, Array);
// Limit to 20 selected nodes
if (selectedNodeIds.length > 20){