Skip to content

Commit b402e19

Browse files
author
DK101010
committed
adapt ui after 4.18 merge
1 parent e209a53 commit b402e19

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ui/src/views/infra/AddPrimaryStorage.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
<a-input v-model:value="form.server" :placeholder="$t('message.server.description')" />
170170
</a-form-item>
171171
</div>
172-
<div v-if="form.protocol === 'nfs' || form.protocol === 'SMB' || form.protocol === 'ocfs2' || protocolSelected === 'Filesystem' || (form.protocol === 'PreSetup' && hypervisorType !== 'VMware') || form.protocol === 'SharedMountPoint'">
172+
<div v-if="form.protocol === 'nfs' || form.protocol === 'SMB' || form.protocol === 'ocfs2' || form.protocol === 'Filesystem' || (form.protocol === 'PreSetup' && hypervisorType !== 'VMware') || form.protocol === 'SharedMountPoint'">
173173
<a-form-item name="path" ref="path">
174174
<template #label>
175175
<tooltip-label :title="$t('label.path')" :tooltip="$t('message.path.description')"/>
@@ -505,7 +505,7 @@ export default {
505505
this.hypervisorType = cluster.hypervisortype
506506
if (this.hypervisorType === 'KVM') {
507507
this.protocols = ['nfs', 'SharedMountPoint', 'RBD', 'CLVM', 'Gluster', 'Linstor', 'custom']
508-
if (this.scope === 'host') {
508+
if (this.form.scope === 'host') {
509509
this.protocols.push('Filesystem')
510510
}
511511
} else if (this.hypervisorType === 'XenServer') {

0 commit comments

Comments
 (0)