aboutsummaryrefslogtreecommitdiff
path: root/src/components/chat_panel
diff options
context:
space:
mode:
authorMaxim Filippov <colixer@gmail.com>2018-12-06 04:05:35 +0300
committerMaxim Filippov <colixer@gmail.com>2018-12-06 22:09:54 +0300
commit6532462b95fbea1a19508fcdfa50df02b083b657 (patch)
tree5237e17d132283ccb55883c3ac76be997bac4435 /src/components/chat_panel
parentc3c75e07024dc0b0df2d9ddd06fc0ef5d8ff038e (diff)
Move old routes to /p, use /nickname for user profiles
Diffstat (limited to 'src/components/chat_panel')
-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 30070d3e..e3671818 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: { id: message.author.id } }">
+ <router-link class="chat-name" :to="{ name: 'user-profile', params: { name: message.author.username } }">
{{message.author.username}}
</router-link>
<br>