Skip to content

Commit aeb525c

Browse files
committed
Cleanup MultiNetworkSelection.vue
1 parent 1a6d639 commit aeb525c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -281,10 +281,8 @@ export default {
281281
this.sendValuesTimed()
282282
},
283283
getDefaultNetwork (record) {
284-
console.log('getDefaultNetwork', record, this.values, this.validNetworks)
285-
if (record.vlanid) {
284+
if (record.vlanid && record.vlanid !== -1) {
286285
const matched = this.validNetworks[record.id].filter(x => Number(x.vlan) === record.vlanid)
287-
console.log('matched', matched)
288286
if (matched.length > 0) {
289287
this.handleNetworkChange(record, matched[0].id)
290288
return matched[0].id

0 commit comments

Comments
 (0)