mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-04 13:16:05 +08:00
fix: view and edit mode for l2vlan trunk (#563)
Signed-off-by: Andy Lee <andy.lee@suse.com>
This commit is contained in:
@@ -171,10 +171,10 @@ export default {
|
|||||||
|
|
||||||
isL2VlanTrunkMode() {
|
isL2VlanTrunkMode() {
|
||||||
if (this.isView) {
|
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() {
|
isL2VlanAccessMode() {
|
||||||
|
|||||||
Reference in New Issue
Block a user