Imvedansh commented on code in PR #12380:
URL: https://github.com/apache/cloudstack/pull/12380#discussion_r2687003950


##########
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:
   Thanks for the clarification @shwstppr 
   I’ve updated the UI to treat deleteDomain as an async API by polling the 
returned jobId using the existing $pollJob helper, consistent with other async 
actions in the UI.
   Success and failure are now shown only after the async job completes.
   WDYS?



-- 
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]

Reply via email to