forked from AkkomaGang/akkoma-fe
Route user to the correct profile URL
This commit is contained in:
parent
21b600d5e1
commit
bee6a0273b
1 changed files with 3 additions and 1 deletions
|
@ -19,7 +19,9 @@
|
|||
{{ $t('user_card.follows_you') }}
|
||||
</span>
|
||||
</div>
|
||||
<a :href="user.statusnet_profile_url" target="blank"><div class="user-screen-name">@{{ user.screen_name }}</div></a>
|
||||
<router-link class='user-screen-name' :to="{ name: 'user-profile', params: { id: user.id } }">
|
||||
@{{user.screen_name}}
|
||||
</router-link>
|
||||
</div>
|
||||
<div class="approval" v-if="showApproval">
|
||||
<button class="btn btn-default" @click="approveUser">{{ $t('user_card.approve') }}</button>
|
||||
|
|
Loading…
Reference in a new issue