Skip to content

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
S3bastianCZ committed Feb 27, 2025
1 parent 8b33ab7 commit 598f27a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion @xen-orchestra/web/src/components/pif/PifRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<script setup lang="ts">
import { useHostStore } from '@/stores/xo-rest-api/host.store'
import { usePifStore } from '@/stores/xo-rest-api/pif.store'
import { HOST_POWER_STATE } from '@/types/xo/host.type'
import type { XoPif } from '@/types/xo/pif.type'
import VtsConnectionStatus from '@core/components/connection-status/VtsConnectionStatus.vue'
import UiButtonIcon from '@core/components/ui/button-icon/UiButtonIcon.vue'
Expand Down Expand Up @@ -52,7 +53,7 @@ const pifHost = computed(() => {
return {
label: host.name_label,
powerState: host.power_state === 'Running' ? 'running' : 'halted',
powerState: host.power_state === HOST_POWER_STATE.RUNNING ? 'running' : 'halted',
redirect() {
router.push({
name: '/host/[id]/networks',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@
<VtsCardRowKeyValue>
<template #key>{{ $t('mtu') }}</template>
<template #value>
<div class="value">
<span class="value">
{{ network.MTU }}
</div>
</span>
</template>
<template v-if="network.MTU" #addons>
<UiButtonIcon
Expand Down

0 comments on commit 598f27a

Please sign in to comment.