Fixed client error in creature form
This commit is contained in:
@@ -201,6 +201,7 @@ export default {
|
|||||||
},
|
},
|
||||||
librariesSelectedByCollections() {
|
librariesSelectedByCollections() {
|
||||||
let ids = [];
|
let ids = [];
|
||||||
|
if (!this.model.allowedLibraryCollections) return ids;
|
||||||
LibraryCollections.find({
|
LibraryCollections.find({
|
||||||
_id: { $in: this.model.allowedLibraryCollections }
|
_id: { $in: this.model.allowedLibraryCollections }
|
||||||
}).forEach(collection => {
|
}).forEach(collection => {
|
||||||
|
|||||||
Reference in New Issue
Block a user