diff --git a/src/admin/components/edition/collection-edition-form.vue b/src/admin/components/edition/collection-edition-form.vue index 0318c4634..c80e8950f 100644 --- a/src/admin/components/edition/collection-edition-form.vue +++ b/src/admin/components/edition/collection-edition-form.vue @@ -683,14 +683,20 @@ export default { // Generates options for parent collection this.isFetchingCollections = true; this.fetchAllCollectionNames() - .then((collections) => { - this.collections = collections; - this.isFetchingCollections = false; + .then((resp) => { + resp.request.then((collections) => { + this.collections = collections; + this.isFetchingCollections = false; + }) + .catch((error) => { + this.$console.error(error); + this.isFetchingCollections = false; + }); }) - .catch((error) => { - this.$console.error(error); - this.isFetchingCollections = false; - }); + .catch((error) => { + this.$console.error(error); + this.isFetchingCollections = false; + }); this.isLoading = false;