You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by GitBox <gi...@apache.org> on 2020/09/28 06:35:19 UTC

[GitHub] [cloudstack-primate] davidjumani commented on a change in pull request #755: compute: Back to list VM when deleting VM with the Expunge option.

davidjumani commented on a change in pull request #755:
URL: https://github.com/apache/cloudstack-primate/pull/755#discussion_r495716362



##########
File path: src/views/compute/DestroyVM.vue
##########
@@ -134,9 +134,15 @@ export default {
             jobId,
             loadingMessage: `${this.$t('message.deleting.vm')} ${this.resource.name}`,
             catchMessage: this.$t('error.fetching.async.job.result'),
-            successMessage: `${this.$t('message.success.delete.vm')} ${this.resource.name}`
+            successMessage: `${this.$t('message.success.delete.vm')} ${this.resource.name}`,
+            successMethod: () => {
+              if (values.expunge) {

Review comment:
       @utchoang Could you add a check to go back only if it is in detail view




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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org