Merge pull request #3541 from h3poteto/fix/list-membership
Fix loading of ListMembership modal
This commit is contained in:
commit
718ebdef42
|
@ -54,8 +54,8 @@ export default defineComponent({
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
loading.value = true
|
loading.value = true
|
||||||
try {
|
try {
|
||||||
await store.dispatch(`${space}/${ACTION_TYPES.FETCH_LIST_MEMBERSHIP}`, account.value)
|
|
||||||
await store.dispatch(`${space}/${ACTION_TYPES.FETCH_LISTS}`)
|
await store.dispatch(`${space}/${ACTION_TYPES.FETCH_LISTS}`)
|
||||||
|
await store.dispatch(`${space}/${ACTION_TYPES.FETCH_LIST_MEMBERSHIP}`, account.value)
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
ElMessage({
|
ElMessage({
|
||||||
message: i18n.t('message.lists_fetch_error'),
|
message: i18n.t('message.lists_fetch_error'),
|
||||||
|
|
Loading…
Reference in New Issue