diff --git a/pkg/harvester/edit/harvesterhci.io.networkattachmentdefinition.vue b/pkg/harvester/edit/harvesterhci.io.networkattachmentdefinition.vue index 1b42bcf4..7d8095b5 100644 --- a/pkg/harvester/edit/harvesterhci.io.networkattachmentdefinition.vue +++ b/pkg/harvester/edit/harvesterhci.io.networkattachmentdefinition.vue @@ -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() {