diff --git a/@xen-orchestra/lite/src/components/pool/network/PoolHostInternalNetworkTable.vue b/@xen-orchestra/lite/src/components/pool/network/PoolHostInternalNetworkTable.vue index ddd3d0db392..f6e476470b1 100644 --- a/@xen-orchestra/lite/src/components/pool/network/PoolHostInternalNetworkTable.vue +++ b/@xen-orchestra/lite/src/components/pool/network/PoolHostInternalNetworkTable.vue @@ -56,7 +56,9 @@ {{ column.label }} - {{ column.label }} + + {{ column.label }} + @@ -129,13 +131,13 @@ const { networks, isReady } = defineProps<{ }>() const emit = defineEmits<{ - rowSelectHostInternalNetwork: [value: any] + rowSelectNetwork: [value: any] }>() const searchQuery = ref('') const selectRow = (item: any, table: string) => { - emit('rowSelectHostInternalNetwork', { item, table }) + emit('rowSelectNetwork', { item, table }) } const filteredNetworks = computed(() => { diff --git a/@xen-orchestra/lite/src/components/pool/network/PoolNetworksSidePanel.vue b/@xen-orchestra/lite/src/components/pool/network/PoolNetworksSidePanel.vue index 513309db05d..8ae6a03f155 100644 --- a/@xen-orchestra/lite/src/components/pool/network/PoolNetworksSidePanel.vue +++ b/@xen-orchestra/lite/src/components/pool/network/PoolNetworksSidePanel.vue @@ -1,83 +1,103 @@ - {{ $t('edit') }} - {{ $t('delete') }} + + {{ $t('edit') }} + + + {{ $t('delete') }} + - {{ (selectedNetwork as any)?.network.name_label }} + {{ selectedNetwork.network.name_label }} {{ $t('uuid') }} - {{ (selectedNetwork as any)?.network.uuid }} + {{ getDisplayValue(selectedNetwork.network.uuid) }} {{ $t('description') }} - {{ (selectedNetwork as any)?.network.name_description }} + {{ getDisplayValue(selectedNetwork.network.name_description) }} - + {{ $t('vlan') }} - {{ (selectedNetwork as any)?.vlan }} - + {{ getDisplayValue(selectedNetwork.vlan) }} + {{ $t('mtu') }} - {{ (selectedNetwork as any)?.network.MTU }} + {{ getDisplayValue(selectedNetwork.network.MTU) }} - + {{ $t('network-block-device') }} - {{ (selectedNetwork as any)?.network.purpose[0] }} + {{ getDisplayValue(selectedNetwork.network.purpose[0]) }} {{ $t('locking-mode-default') }} - {{ (selectedNetwork as any)?.network.default_locking_mode }} + {{ getDisplayValue(selectedNetwork.network.default_locking_mode) }} - + {{ $t('pifs') }} - + - + {{ $t('host') }} @@ -91,21 +111,19 @@ - + {{ selected?.host?.name_label }} - + {{ selected.PIF.device }} - - {{ $t('connected') }} - {{ $t('disconnected') }} - {{ $t('partially-connected') }} + + - + @@ -117,12 +135,13 @@