#289 mastodon rel=me - also for home
This commit is contained in:
parent
889ba7a50d
commit
14613cd807
|
@ -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"> </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() {
|
||||
|
|
Reference in New Issue