Skip to content

Commit f07293a

Browse files
committed
ui: fix suitable shared network not showing while import
In import VM form, shared network is not showing when it is in Setup state which should not be the case. This PR fixes that. Signed-off-by: Abhishek Kumar <[email protected]>
1 parent 08881d6 commit f07293a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/views/compute/wizard/MultiNetworkSelection.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ export default {
193193
for (const item of this.items) {
194194
this.validNetworks[item.id] = this.networks
195195
if (this.filterUnimplementedNetworks) {
196-
this.validNetworks[item.id] = this.validNetworks[item.id].filter(x => x.state === 'Implemented')
196+
this.validNetworks[item.id] = this.validNetworks[item.id].filter(x => (x.state === 'Implemented' || (x.state === 'Setup' && x.type === 'Shared')))
197197
}
198198
if (this.filterMatchKey) {
199199
this.validNetworks[item.id] = this.validNetworks[item.id].filter(x => x[this.filterMatchKey] === item[this.filterMatchKey])

0 commit comments

Comments
 (0)