Add href attribute to post timestamp element

This commit is contained in:
silverpill 2022-02-16 18:55:27 +00:00
parent 88bdd69233
commit a8c10d83c4

View file

@ -24,18 +24,16 @@
> >
<img :src="require('@/assets/tabler/corner-left-up.svg')"> <img :src="require('@/assets/tabler/corner-left-up.svg')">
</a> </a>
<a <span
class="icon icon-small" class="icon icon-small"
:href="post.uri"
:title="visibilityDisplay" :title="visibilityDisplay"
target="_blank"
rel="noreferrer"
> >
<visibility-icon :visibility="post.visibility"></visibility-icon> <visibility-icon :visibility="post.visibility"></visibility-icon>
</a> </span>
<a <a
class="timestamp" class="timestamp"
@click="navigateTo(post.id)" :href="post.uri"
@click.prevent="navigateTo(post.id)"
> >
{{ formatDate(post.created_at) }} {{ formatDate(post.created_at) }}
</a> </a>