From 29c7518613bd333552fdd2e49a1740ce6b2c49a1 Mon Sep 17 00:00:00 2001 From: Hoang Nguyen Date: Mon, 20 Dec 2021 14:05:32 +0700 Subject: [PATCH] UI: Fixes error when delete domain (#5710) * fixes error when delete domain with polljob response not have jobstatus * fix listdomain not refresh after deleted --- ui/src/views/iam/DomainActionForm.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ui/src/views/iam/DomainActionForm.vue b/ui/src/views/iam/DomainActionForm.vue index b9796867106..1696d525810 100644 --- a/ui/src/views/iam/DomainActionForm.vue +++ b/ui/src/views/iam/DomainActionForm.vue @@ -248,8 +248,7 @@ export default { description: this.resource.name, successMethod: result => { if (this.action.api === 'deleteDomain') { - this.$set(this.resource, 'isDel', true) - this.parentUpdActionData(this.resource) + this.parentFetchData() } if (this.action.response) { const description = this.action.response(result.jobresult)