From c76e53660871ab519cf8a9b10815a1a5618896c1 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Fri, 11 Mar 2022 14:18:55 +0530 Subject: [PATCH] ui: fix deploy vm stay on page Signed-off-by: Abhishek Kumar --- ui/src/views/compute/DeployVM.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/views/compute/DeployVM.vue b/ui/src/views/compute/DeployVM.vue index 13397de5359a..7d3036d3b50d 100644 --- a/ui/src/views/compute/DeployVM.vue +++ b/ui/src/views/compute/DeployVM.vue @@ -1645,9 +1645,9 @@ export default { getText (option) { return _.get(option, 'displaytext', _.get(option, 'name')) }, - handleSubmitAndStay () { + handleSubmitAndStay (e) { this.form.stayonpage = true - this.handleSubmit() + this.handleSubmit(e.domEvent) this.form.stayonpage = false }, handleSubmit (e) {