You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by su...@apache.org on 2021/12/20 07:06:04 UTC

[cloudstack] branch 4.16 updated: UI: Fixes error when delete domain (#5710)

This is an automated email from the ASF dual-hosted git repository.

sureshanaparti pushed a commit to branch 4.16
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.16 by this push:
     new 29c7518  UI: Fixes error when delete domain (#5710)
29c7518 is described below

commit 29c7518613bd333552fdd2e49a1740ce6b2c49a1
Author: Hoang Nguyen <ho...@unitech.vn>
AuthorDate: Mon Dec 20 14:05:32 2021 +0700

    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 b979686..1696d52 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)