Fixed slot fillers in fill dialog not showing children when expanded

This commit is contained in:
ThaumRystra
2024-11-09 14:21:15 +02:00
parent 40025dc7d3
commit 5c80975bc1
3 changed files with 10 additions and 6 deletions

View File

@@ -301,8 +301,7 @@ Meteor.publish('descendantLibraryNodes', function (nodeId) {
if (!libraryId || !node) return [];
this.autorun(function () {
let userId = this.userId;
let library = Libraries.findOne(libraryId);
try { assertViewPermission(library, userId) }
try { assertDocViewPermission(node, userId) }
catch (e) {
return this.error(e);
}