aboutsummaryrefslogtreecommitdiff
path: root/src/components/chat_panel/chat_panel.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/chat_panel/chat_panel.vue')
-rw-r--r--src/components/chat_panel/chat_panel.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/chat_panel/chat_panel.vue b/src/components/chat_panel/chat_panel.vue
index e3671818..182ea347 100644
--- a/src/components/chat_panel/chat_panel.vue
+++ b/src/components/chat_panel/chat_panel.vue
@@ -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>