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 shrink
border="1px app-text-grey" border="1px app-text-grey"
:src="logo ?? '/no-image-1-1.svg'" :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 <div
grow grow

View file

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