ui: pass requireshvm param for register/upload template API (#5050)

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
Abhishek Kumar 2021-05-29 16:15:40 +05:30 committed by GitHub
parent d47e273329
commit 4ec337fd2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -837,6 +837,9 @@ export default {
}
}
}
if (!('requireshvm' in params)) { // handled as default true by API
params.requireshvm = false
}
if (this.currentForm === 'Create') {
this.loading = true
api('registerTemplate', params).then(json => {