mirror of https://github.com/apache/cloudstack.git
ui: show read from ova only for ova format (#5108)
Fixes #5107 Signed-off-by: Abhishek Kumar <abhishek.kumar@shapeblue.com>
This commit is contained in:
parent
b6e4329aa3
commit
006d0fe4c4
|
|
@ -175,7 +175,8 @@
|
|||
}
|
||||
]
|
||||
}]"
|
||||
:placeholder="apiParams.format.description">
|
||||
:placeholder="apiParams.format.description"
|
||||
@change="val => { selectedFormat = val }">
|
||||
<a-select-option v-for="opt in format.opts" :key="opt.id">
|
||||
{{ opt.name || opt.description }}
|
||||
</a-select-option>
|
||||
|
|
@ -209,7 +210,7 @@
|
|||
</a-form-item>
|
||||
</a-row>
|
||||
|
||||
<a-form-item :label="$t('label.deployasis')" v-if="hyperVMWShow">
|
||||
<a-form-item :label="$t('label.deployasis')" v-if="selectedFormat === 'OVA'">
|
||||
<a-switch
|
||||
v-decorator="['deployasis', {
|
||||
initialValue: false,
|
||||
|
|
@ -388,6 +389,7 @@ export default {
|
|||
hyperKVMShow: false,
|
||||
hyperXenServerShow: false,
|
||||
hyperVMWShow: false,
|
||||
selectedFormat: '',
|
||||
deployasis: false,
|
||||
zoneError: '',
|
||||
zoneErrorMessage: '',
|
||||
|
|
|
|||
Loading…
Reference in New Issue