ui: fix deploy vm stay on page (#6099)

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
Abhishek Kumar 2022-03-11 19:23:06 +05:30 committed by GitHub
parent 71056191f2
commit 7e6339753d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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) {