From c3aaca822da004e0a41466498cf1099f8c8075e6 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 12 Apr 2022 12:48:48 +0200 Subject: [PATCH] Change order Signed-off-by: Joas Schilling --- src/components/CollectionList.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/CollectionList.vue b/src/components/CollectionList.vue index 329f1229..8cc74032 100644 --- a/src/components/CollectionList.vue +++ b/src/components/CollectionList.vue @@ -168,13 +168,6 @@ export default { } }, - mounted() { - actions.fetchCollectionsByResource({ - resourceType: this.type, - resourceId: this.id - }) - }, - watch: { type() { if (this.isActive) { @@ -202,6 +195,13 @@ export default { } }, + mounted() { + actions.fetchCollectionsByResource({ + resourceType: this.type, + resourceId: this.id + }) + }, + methods: { select(selectedOption, id) { if (selectedOption.method === METHOD_CREATE_COLLECTION) {