File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -130,6 +130,8 @@ export default {
130130 steps () {
131131 const steps = []
132132 const hypervisor = this .prefillContent .hypervisor ? this .prefillContent .hypervisor .value : null
133+ const localStorageEnabled = this .prefillContent .localstorageenabled .value
134+ const localStorageEnabledForSystemVM = this .prefillContent .localstorageenabledforsystemvm .value
133135 steps .push ({
134136 title: ' label.cluster' ,
135137 fromKey: ' clusterResource' ,
@@ -142,11 +144,13 @@ export default {
142144 description: ' message.desc.host'
143145 })
144146 }
145- steps .push ({
146- title: ' label.primary.storage' ,
147- fromKey: ' primaryResource' ,
148- description: ' message.desc.primary.storage'
149- })
147+ if (! localStorageEnabled || ! localStorageEnabledForSystemVM) {
148+ steps .push ({
149+ title: ' label.primary.storage' ,
150+ fromKey: ' primaryResource' ,
151+ description: ' message.desc.primary.storage'
152+ })
153+ }
150154 steps .push ({
151155 title: ' label.secondary.storage' ,
152156 fromKey: ' secondaryResource' ,
You can’t perform that action at this time.
0 commit comments