shwstppr commented on code in PR #12380:
URL: https://github.com/apache/cloudstack/pull/12380#discussion_r2667204224
##########
ui/src/views/iam/DomainView.vue:
##########
@@ -319,6 +333,32 @@ export default {
closeAction () {
this.showAction = false
},
+ confirmDeleteDomain () {
+ const params = { id: this.deleteDomainResource.id }
+
+ api('deleteDomain', params)
Review Comment:
@Imvedansh `deleteDomain` is an async API. You would mostly always get a 200
response as it would return the jobid. So you'll have to poll that job ID
instead showing success immediately
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]