Fixed client error in creature form

This commit is contained in:
Stefan Zermatten
2022-08-15 10:32:27 +02:00
parent 263f2d8424
commit 2bb3265356

View File

@@ -201,6 +201,7 @@ export default {
},
librariesSelectedByCollections() {
let ids = [];
if (!this.model.allowedLibraryCollections) return ids;
LibraryCollections.find({
_id: { $in: this.model.allowedLibraryCollections }
}).forEach(collection => {