diff --git a/@xen-orchestra/web/src/components/site/dashboard/HostsStatus.vue b/@xen-orchestra/web/src/components/site/dashboard/HostsStatus.vue index fbc1550bb39..c4f39396d53 100644 --- a/@xen-orchestra/web/src/components/site/dashboard/HostsStatus.vue +++ b/@xen-orchestra/web/src/components/site/dashboard/HostsStatus.vue @@ -1,8 +1,10 @@ @@ -13,13 +15,14 @@ import type { DonutChartWithLegendProps } from '@core/components/donut-chart-wit import CardTitle from '@core/components/card/CardTitle.vue' import CardNumbers from '@core/components/CardNumbers.vue' import DonutChartWithLegend from '@core/components/donut-chart-with-legend/DonutChartWithLegend.vue' +import LoadingHero from '@core/components/state-hero/LoadingHero.vue' import UiCard from '@core/components/UiCard.vue' import { faServer } from '@fortawesome/free-solid-svg-icons' import { computed } from 'vue' import { useI18n } from 'vue-i18n' const { t } = useI18n() -const { records: hosts } = useHostStore().subscribe() +const { records: hosts, isReady } = useHostStore().subscribe() const hostsCount = computed(() => { return hosts.value.reduce( diff --git a/@xen-orchestra/web/src/components/site/dashboard/VmsStatus.vue b/@xen-orchestra/web/src/components/site/dashboard/VmsStatus.vue index b592f391da3..8f3a90a9484 100644 --- a/@xen-orchestra/web/src/components/site/dashboard/VmsStatus.vue +++ b/@xen-orchestra/web/src/components/site/dashboard/VmsStatus.vue @@ -1,9 +1,9 @@