diff --git a/src/components/device/device-card/components/current-diag/device-hardware-card.vue b/src/components/device/device-card/components/current-diag/device-hardware-card.vue index 6e34e50..0dc88f4 100644 --- a/src/components/device/device-card/components/current-diag/device-hardware-card.vue +++ b/src/components/device/device-card/components/current-diag/device-hardware-card.vue @@ -17,7 +17,7 @@ const props = defineProps<{ const { cpuUsage, memUsage, diskUsage, runningTime, cpuUsageLabel, memUsageLabel, diskUsageLabel, runningTimeLabel } = toRefs(props); const showCard = computed(() => { - return Object.values({ cpuUsage, memUsage, diskUsage, runningTime }).some((value) => !!value); + return Object.values({ cpuUsage, memUsage, diskUsage, runningTime }).some((refValue) => !!refValue.value); }); const cpuPercent = computed(() => {