diff --git a/src/DeleteShopAccountSetting.vue b/src/DeleteShopAccountSetting.vue index 7c28a59cb771d8302a675b48ac2450226baebe43..4cc7d5d1c40f9e8d4c004d320fb204f5d0fafaa5 100644 --- a/src/DeleteShopAccountSetting.vue +++ b/src/DeleteShopAccountSetting.vue @@ -59,7 +59,7 @@ -
+
@@ -92,6 +92,7 @@ export default { userEmail: loadState(APPLICATION_NAME, 'email'), showError: false, allowDelete: true, + dataLoading: false, ordersDescription: '', } }, @@ -163,6 +164,7 @@ export default { } }, async getShopUsers() { + this.dataLoading = true try { const url = generateUrl( `/apps/${this.appName}/shop-accounts/users`, @@ -170,6 +172,7 @@ export default { const { data } = await Axios.get(url) this.shopUsers = data this.setOrderDescription() + this.dataLoading = false } catch (e) { if (e.response.status !== 404) { this.disableDeleteAccountEvent() @@ -178,6 +181,7 @@ export default { ) this.allowDelete = false } + this.dataLoading = false } this.disableOrEnableDeleteAccount() },