ui: fix systevmtype for create service offering form (#4683)

Fixes #4682

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
Abhishek Kumar 2021-02-23 15:09:43 +05:30 committed by GitHub
parent 186ac69c49
commit 06c16ac8f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -1052,6 +1052,9 @@ export default {
if ('isvolatile' in values && values.isvolatile !== undefined) {
params.isvolatile = values.isvolatile === true
}
if ('systemvmtype' in values && values.systemvmtype !== undefined) {
params.systemvmtype = values.systemvmtype
}
if (values.ispublic !== true) {
var domainIndexes = values.domainid
var domainId = null