mirror of https://github.com/apache/cloudstack.git
ui: pass requireshvm param for register/upload template API (#5050)
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
parent
d47e273329
commit
4ec337fd2a
|
|
@ -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 => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue