You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by pe...@apache.org on 2025/06/27 17:02:25 UTC
(cloudstack) branch fix-trafficLabel-vmware created (now 1f379e1a48e)
This is an automated email from the ASF dual-hosted git repository.
pearl11594 pushed a change to branch fix-trafficLabel-vmware
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
at 1f379e1a48e UI: Fix traffic Label on Zone creation wizard for VMware
This branch includes the following new commits:
new 1f379e1a48e UI: Fix traffic Label on Zone creation wizard for VMware
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(cloudstack) 01/01: UI: Fix traffic Label on Zone creation wizard for VMware
Posted by pe...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
pearl11594 pushed a commit to branch fix-trafficLabel-vmware
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
commit 1f379e1a48e6134d4c499dcb084410c6db063287
Author: Pearl Dsilva <pe...@gmail.com>
AuthorDate: Fri Jun 27 13:02:10 2025 -0400
UI: Fix traffic Label on Zone creation wizard for VMware
---
ui/src/views/infra/zone/ZoneWizardPhysicalNetworkSetupStep.vue | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ui/src/views/infra/zone/ZoneWizardPhysicalNetworkSetupStep.vue b/ui/src/views/infra/zone/ZoneWizardPhysicalNetworkSetupStep.vue
index 1117cb6ec01..551326b430a 100644
--- a/ui/src/views/infra/zone/ZoneWizardPhysicalNetworkSetupStep.vue
+++ b/ui/src/views/infra/zone/ZoneWizardPhysicalNetworkSetupStep.vue
@@ -79,14 +79,14 @@
</template>
<template v-if="column.key === 'traffics'">
<div v-for="traffic in record.traffics" :key="traffic.type">
- <a-tooltip :title="traffic.type.toUpperCase() + ' (' + traffic.label + ')'">
+ <a-tooltip :title="traffic.type.toUpperCase() + ' (' + (hypervisor !== 'VMware' ? traffic.label : traffic.vSwitchName) + ')'">
<a-tag
:color="trafficColors[traffic.type]"
style="margin:2px"
>
- {{ (traffic.type.toUpperCase() + ' (' + traffic.label + ')').slice(0, 20) }}
- {{ (traffic.type.toUpperCase() + ' (' + traffic.label + ')').length > 20 ? '...' : '' }}
+ {{ (traffic.type.toUpperCase() + ' (' + (hypervisor !== 'VMware' ? traffic.label : traffic.vSwitchName) + ')').slice(0, 20) }}
+ {{ (traffic.type.toUpperCase() + ' (' + (hypervisor !== 'VMware' ? traffic.label : traffic.vSwitchName) + ')').length > 20 ? '...' : '' }}
<edit-outlined class="traffic-type-action" @click="editTraffic(record.key, traffic, $event)"/>
<delete-outlined class="traffic-type-action" @click="deleteTraffic(record.key, traffic, $event)"/>
</a-tag>