diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-10-22 10:22:07 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-10-22 10:22:07 +0900 |
| commit | b02274c178dcc635652070cb62fe5b9738ef0c15 (patch) | |
| tree | 16d29302ef6e018a894e9b7e59bae6fa657f0c46 /src/client | |
| parent | Update locales/ja-JP.yml (diff) | |
| download | misskey-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.vue | 2 |
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> |