Skip to content
This repository was archived by the owner on Jul 5, 2024. It is now read-only.

Commit c3aaca8

Browse files
committed
Change order
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 parent b0d1b5a commit c3aaca8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/components/CollectionList.vue

+7-7
Original file line numberDiff line numberDiff line change
@@ -168,13 +168,6 @@ export default {
168168
}
169169
},
170170

171-
mounted() {
172-
actions.fetchCollectionsByResource({
173-
resourceType: this.type,
174-
resourceId: this.id
175-
})
176-
},
177-
178171
watch: {
179172
type() {
180173
if (this.isActive) {
@@ -202,6 +195,13 @@ export default {
202195
}
203196
},
204197

198+
mounted() {
199+
actions.fetchCollectionsByResource({
200+
resourceType: this.type,
201+
resourceId: this.id
202+
})
203+
},
204+
205205
methods: {
206206
select(selectedOption, id) {
207207
if (selectedOption.method === METHOD_CREATE_COLLECTION) {

0 commit comments

Comments
 (0)