diff --git a/src/components/device-page/device-card/current-diag-card/device-common-card.vue b/src/components/device-page/device-card/current-diag-card/device-common-card.vue index 2eb98e1..1c69b81 100644 --- a/src/components/device-page/device-card/current-diag-card/device-common-card.vue +++ b/src/components/device-page/device-card/current-diag-card/device-common-card.vue @@ -8,11 +8,13 @@ const props = defineProps<{ const { commonInfo } = toRefs(props); +const cardShow = computed(() => !!commonInfo.value && Object.keys(commonInfo.value).length > 0); + const commonInfoEntries = computed(() => Object.entries(commonInfo.value ?? {}));