File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 3232 @confirm =" setAsDefault(record.nic)"
3333 :okText =" $t('label.yes')"
3434 :cancelText =" $t('label.no')"
35- v-if =" !record.nic.isdefault"
35+ v-if =" !record.nic.isdefault && resource.hypervisor !== 'External' "
3636 >
3737 <tooltip-button
3838 tooltipPlacement =" bottom"
4141 icon =" check-square-outlined" />
4242 </a-popconfirm >
4343 <tooltip-button
44- v-if =" record.nic.type !== 'L2'"
44+ v-if =" record.nic.type !== 'L2' && resource.hypervisor !== 'External' "
4545 tooltipPlacement =" bottom"
4646 :tooltip =" $t('label.change.ip.address')"
4747 icon =" swap-outlined"
4848 :disabled =" !('updateVmNicIp' in $store.getters.apis)"
4949 @onClick =" onChangeIPAddress(record)" />
5050 <tooltip-button
51- v-if =" record.nic.type !== 'L2'"
51+ v-if =" record.nic.type !== 'L2' && resource.hypervisor !== 'External' "
5252 tooltipPlacement =" bottom"
5353 :tooltip =" $t('label.edit.secondary.ips')"
5454 icon =" environment-outlined"
5959 @confirm =" removeNIC(record.nic)"
6060 :okText =" $t('label.yes')"
6161 :cancelText =" $t('label.no')"
62- v-if =" !record.nic.isdefault"
62+ v-if =" !record.nic.isdefault && resource.hypervisor !== 'External' "
6363 >
6464 <tooltip-button
6565 tooltipPlacement =" bottom"
You can’t perform that action at this time.
0 commit comments