Fix mention links (#3728)

canonical already starts with @, so remove the extra @.
This commit is contained in:
Zero King 2018-12-23 05:35:18 +00:00 committed by syuilo
parent 98acf919f1
commit 6b947c2139

View File

@ -1,5 +1,5 @@
<template> <template>
<router-link class="ldlomzub" :to="`/@${ canonical }`" v-user-preview="canonical"> <router-link class="ldlomzub" :to="`/${ canonical }`" v-user-preview="canonical">
<span class="me" v-if="isMe">{{ $t('@.you') }}</span> <span class="me" v-if="isMe">{{ $t('@.you') }}</span>
<span class="main"> <span class="main">
<span class="username">@{{ username }}</span> <span class="username">@{{ username }}</span>