diff --git a/src/components/ui/CardDescriptor.vue b/src/components/ui/CardDescriptor.vue index afdc2d108..70109c15d 100644 --- a/src/components/ui/CardDescriptor.vue +++ b/src/components/ui/CardDescriptor.vue @@ -125,7 +125,7 @@ watch($props, async () => { - #{{ $props.subtitle ? $props.subtitle : entity.id }} + #{{ $props.subtitle ?? entity.id }} diff --git a/src/components/ui/VnLv.vue b/src/components/ui/VnLv.vue index 83234b658..1eea26252 100644 --- a/src/components/ui/VnLv.vue +++ b/src/components/ui/VnLv.vue @@ -13,7 +13,9 @@ const isBooleanValue = computed(() => typeof $props.value === 'boolean');