Add generateProfileLink
This commit is contained in:
parent
ae8f0f36d8
commit
24caa2cfcd
4 changed files with 31 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
|||
<img :src="message.author.avatar" />
|
||||
</span>
|
||||
<div class="chat-content">
|
||||
<router-link class="chat-name" :to="{ name: 'user-profile', params: { name: message.author.username } }">
|
||||
<router-link class="chat-name" :to="userProfileLink(message.author)">
|
||||
{{message.author.username}}
|
||||
</router-link>
|
||||
<br>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue