fix(rating): show link only if valid

This commit is contained in:
Daniel Klein 2024-09-17 08:17:49 +02:00
parent e70109576b
commit 54212e19b1
2 changed files with 2 additions and 2 deletions

View file

@ -40,7 +40,7 @@ const logo = props.project?.logos?.at(0)?.url
shrink
border="1px app-text-grey"
:src="logo ?? '/no-image-1-1.svg'"
class="bg-app-bg-grey object-cover h-full vertical-align[middle] block w-full h-[300px]"
class="bg-app-bg-grey object-cover h-full vertical-align[middle] block w-full h-[300px] "
/>
<div
grow

View file

@ -112,7 +112,7 @@ const hidePopover = () => {
{{ item.label }}
</div>
<NuxtLink
v-if="item.positive === 'Link'"
v-if="item.isValid && item.positive === 'Link'"
:to="item.value"
target="_blank"
external