Fixes
All checks were successful
Build and Push Docker Images / build-backend (push) Successful in 3m8s
Build and Push Docker Images / build-frontend (push) Successful in 1m15s

This commit is contained in:
2026-03-04 20:44:19 +01:00
parent 9cef3964e9
commit 52c182cb5f
14 changed files with 569 additions and 372 deletions

View File

@@ -6,8 +6,20 @@ const props = defineProps({
default: {}
}
})
const descriptionText = computed(() => {
const description = props.row?.description
if (!description) return ""
if (typeof description === "string") return description
if (typeof description === "object") {
if (typeof description.text === "string" && description.text.trim().length) {
return description.text
}
}
return String(description)
})
</script>
<template>
<div v-if="props.row.description" v-html="props.row.description.html"/>
<div v-if="descriptionText">{{ descriptionText }}</div>
</template>