diff options
| author | Maxim Filippov <colixer@gmail.com> | 2018-12-13 05:00:01 +0300 |
|---|---|---|
| committer | Maxim Filippov <colixer@gmail.com> | 2018-12-13 05:00:01 +0300 |
| commit | 24caa2cfcd8da73d82d163ca3cb8b9bdb945dd4b (patch) | |
| tree | 31acd854c8119ee19f95b8237b819fc58214d287 /src/components/chat_panel/chat_panel.vue | |
| parent | ae8f0f36d8944210e83c60a931ad14da4c5d4a67 (diff) | |
Add generateProfileLink
Diffstat (limited to 'src/components/chat_panel/chat_panel.vue')
| -rw-r--r-- | src/components/chat_panel/chat_panel.vue | 2 |
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> |
