mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
ui: fix handle action response (#5285)
Fixes #5284 Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
parent
f9fbd86efe
commit
f421a961db
@ -1185,15 +1185,15 @@ export default {
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (['addLdapConfiguration', 'deleteLdapConfiguration'].includes(action.api)) {
|
|
||||||
this.$store.dispatch('UpdateConfiguration')
|
|
||||||
}
|
|
||||||
if (jobId) {
|
|
||||||
eventBus.$emit('update-resource-state', this.selectedItems, resource, 'InProgress', jobId)
|
|
||||||
resolve(this.pollActionCompletion(jobId, action, resourceName, resource, showLoading))
|
|
||||||
}
|
|
||||||
resolve(false)
|
|
||||||
}
|
}
|
||||||
|
if (['addLdapConfiguration', 'deleteLdapConfiguration'].includes(action.api)) {
|
||||||
|
this.$store.dispatch('UpdateConfiguration')
|
||||||
|
}
|
||||||
|
if (jobId) {
|
||||||
|
eventBus.$emit('update-resource-state', this.selectedItems, resource, 'InProgress', jobId)
|
||||||
|
resolve(this.pollActionCompletion(jobId, action, resourceName, resource, showLoading))
|
||||||
|
}
|
||||||
|
resolve(false)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
execSubmit (e) {
|
execSubmit (e) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user