Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ui/src/views/compute/DeployVnfAppliance.vue
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@
:items="templateVnfNics"
:templateNics="templateNics"
:networks="networks"
:deployasis="template && template.deployasis"
@update-vnf-nic-networks="($event) => updateVnfNicNetworks($event)" />
</div>
<div style="margin-top: 15px" v-if="showVnfConfigureManagement">
Expand Down
6 changes: 5 additions & 1 deletion ui/src/views/compute/wizard/VnfNicsSelection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<template #network="{ record }">
<a-form-item style="display: block" :name="'nic-' + record.deviceid">
<a-select
disabled="templateNics && templateNics.length > 0"
:disabled="deployasis && templateNics && templateNics.length > 0"
@change="updateNicNetworkValue($event, record.deviceid)"
optionFilterProp="label"
:filterOption="(input, option) => {
Expand Down Expand Up @@ -87,6 +87,10 @@ export default {
preFillContent: {
type: Object,
default: () => {}
},
deployasis: {
type: Boolean,
default: false
}
},
data () {
Expand Down
Loading