summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-10-22 10:22:07 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-10-22 10:22:07 +0900
commitb02274c178dcc635652070cb62fe5b9738ef0c15 (patch)
tree16d29302ef6e018a894e9b7e59bae6fa657f0c46 /src/client
parentUpdate locales/ja-JP.yml (diff)
downloadmisskey-b02274c178dcc635652070cb62fe5b9738ef0c15.tar.gz
misskey-b02274c178dcc635652070cb62fe5b9738ef0c15.tar.bz2
misskey-b02274c178dcc635652070cb62fe5b9738ef0c15.zip
Use router-link instead of a to improve usability
Diffstat (limited to 'src/client')
-rw-r--r--src/client/app/desktop/views/components/note.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/app/desktop/views/components/note.vue b/src/client/app/desktop/views/components/note.vue
index e0421e5a20..c42b863b2a 100644
--- a/src/client/app/desktop/views/components/note.vue
+++ b/src/client/app/desktop/views/components/note.vue
@@ -17,7 +17,7 @@
<mk-avatar class="avatar" :user="note.user"/>
%fa:retweet%
<span>{{ '%i18n:@reposted-by%'.substr(0, '%i18n:@reposted-by%'.indexOf('{')) }}</span>
- <a class="name" :href="note.user | userPage" v-user-preview="note.userId">{{ note.user | userName }}</a>
+ <router-link class="name" :to="note.user | userPage" v-user-preview="note.userId">{{ note.user | userName }}</router-link>
<span>{{ '%i18n:@reposted-by%'.substr('%i18n:@reposted-by%'.indexOf('}') + 1) }}</span>
<mk-time :time="note.createdAt"/>
</div>