From 7e6339753d55b1bbf160f397be84733e325a5aff Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Fri, 11 Mar 2022 19:23:06 +0530 Subject: [PATCH] ui: fix deploy vm stay on page (#6099) 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 13397de5359..7d3036d3b50 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) {