mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-13 13:11:43 +00:00
fix: view and edit mode for l2vlan trunk (#563)
Signed-off-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
parent
ee8bb21a10
commit
1a3822881e
@ -171,10 +171,10 @@ export default {
|
||||
|
||||
isL2VlanTrunkMode() {
|
||||
if (this.isView) {
|
||||
return this.value.vlanType === L2VLAN && this.l2VlanMode === TRUNK;
|
||||
return this.value.vlanType === L2TRUNK_VLAN && this.l2VlanMode === TRUNK;
|
||||
}
|
||||
|
||||
return this.type === L2VLAN && this.l2VlanMode === TRUNK;
|
||||
return this.type === L2TRUNK_VLAN && this.l2VlanMode === TRUNK;
|
||||
},
|
||||
|
||||
isL2VlanAccessMode() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user