fix shared network elements

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Abhishek Kumar 2020-02-14 18:12:45 +05:30 committed by Rohit Yadav
parent 81a0944be3
commit 05e25eff20
1 changed files with 3 additions and 3 deletions

View File

@ -68,11 +68,11 @@
</a-radio-button>
</a-radio-group>
</a-form-item>
<a-form-item :label="$t('ispersisitent')">
<a-form-item :label="$t('ispersisitent')" v-if="this.guestType !== 'shared'">
<a-switch v-decorator="['ispersisitent', {initialValue: false}]" />
</a-form-item>
<a-form-item :label="$t('specifyvlan')">
<a-switch v-decorator="['specifyvlan', {initialValue: false}]" />
<a-form-item :label="$t('specifyvlan')" v-if="this.guestType !== 'shared'">
<a-switch v-decorator="['specifyvlan', {initialValue: true}]" :defaultChecked="true" />
</a-form-item>
<a-form-item :label="$t('forvpc')" v-if="this.guestType === 'isolated'">
<a-switch v-decorator="['forvpc', {initialValue: this.forVpc}]" :defaultChecked="this.forVpc" @change="this.handleForVpcChange(val)" />