We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6d4442 commit 440fcc0Copy full SHA for 440fcc0
ui/src/views/compute/wizard/NetworkSelection.vue
@@ -260,8 +260,11 @@ export default {
260
})
261
if (!this.loading) {
262
if (this.preFillContent.networkids) {
263
- this.selectedRowKeys = this.preFillContent.networkids
264
- this.$emit('select-network-item', this.preFillContent.networkids)
+ const validNetworkIds = this.preFillContent.networkids.filter(networkId =>
+ this.items.some(item => item.id === networkId)
265
+ )
266
+ this.selectedRowKeys = validNetworkIds
267
+ this.$emit('select-network-item', validNetworkIds)
268
} else {
269
if (this.items && this.items.length > 0) {
270
if (this.oldZoneId === this.zoneId) {
0 commit comments