From bdf26e4f0bb16a692351b64d7447a818b01605bc Mon Sep 17 00:00:00 2001 From: GutoVeronezi Date: Thu, 28 Jul 2022 18:12:43 -0300 Subject: [PATCH] Close form right after receiving the job id --- ui/src/views/storage/RestoreAttachBackupVolume.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ui/src/views/storage/RestoreAttachBackupVolume.vue b/ui/src/views/storage/RestoreAttachBackupVolume.vue index 31f6b1c817ae..41a8f76298fe 100644 --- a/ui/src/views/storage/RestoreAttachBackupVolume.vue +++ b/ui/src/views/storage/RestoreAttachBackupVolume.vue @@ -162,12 +162,10 @@ export default { jobId, title, description: values.volumeid, - successMethod: result => { - this.closeAction() - }, loadingMessage: `${title} ${this.$t('label.in.progress.for')} ${this.resource.id}`, catchMessage: this.$t('error.fetching.async.job.result') }) + this.closeAction() } }).catch(error => { this.$notifyError(error)