#289 mastodon rel=me - also for home

This commit is contained in:
Andrea 2021-12-14 15:40:33 +01:00
parent 889ba7a50d
commit 14613cd807
1 changed files with 6 additions and 1 deletions

View File

@ -81,7 +81,7 @@
<Share/>
</section>
</div>
<div v-else-if="user.username">
<div v-else-if="user.username" class="my-5">
<h2 class="text-nowrap mb-3">
<Avatar :user="user"/>
@{{username}}
@ -103,6 +103,8 @@
</p>
</div>
<a v-for="link in verifiedLinks" :href="link" rel="me">&nbsp;</a>
<Ban :user="user"/>
</div>
<NotFound v-else/>
@ -157,6 +159,9 @@
return this.user.username;
},
verifiedLinks() {
return [...new Set(Object.values(this.user.profiles).map(p => Object.keys(p.verifiedLinks || {})).flat())];
},
},
watch: {
profile() {