diff --git a/nuxt-app/components/SourceBadge.vue b/nuxt-app/components/SourceBadge.vue index 2f17f626..15108055 100644 --- a/nuxt-app/components/SourceBadge.vue +++ b/nuxt-app/components/SourceBadge.vue @@ -7,7 +7,7 @@ let cls = ref("bg-secondary"); let text = ref("N/A"); onMounted(() => { - switch (props.status.toString()) { + switch (props?.status?.toString()) { case "200": text.value = "ok"; cls.value = "bg-success";