mirror of https://github.com/apache/cloudstack.git
UI: Fixes error when delete domain (#5710)
* fixes error when delete domain with polljob response not have jobstatus * fix listdomain not refresh after deleted
This commit is contained in:
parent
79d924f3ee
commit
29c7518613
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue