feat: add link to the posting app (#807)

zio/stable
Adam Cooper 2023-01-05 22:57:04 +00:00 committed by GitHub
parent a35884c0a7
commit 954a6bd5a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -55,7 +55,12 @@ const isDM = $computed(() => status.visibility === 'direct')
<div v-if="status.application?.name"> <div v-if="status.application?.name">
&middot; &middot;
</div> </div>
<div v-if="status.application?.name"> <div v-if="status.application?.website && status.application.name">
<NuxtLink :to="status.application.website">
{{ status.application.name }}
</NuxtLink>
</div>
<div v-else-if="status.application?.name">
{{ status.application?.name }} {{ status.application?.name }}
</div> </div>
</div> </div>