From abf53838e2d75ba1ef4dd08a53ac5839c8eaa4b4 Mon Sep 17 00:00:00 2001 From: Xiaofeng An Date: Sun, 3 Feb 2019 14:08:04 -0500 Subject: [PATCH] #307 - replace user links with router links in repeats --- src/components/status/status.js | 1 + src/components/status/status.vue | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/status/status.js b/src/components/status/status.js index c718fe9f..c32ba501 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -89,6 +89,7 @@ const Status = { retweet () { return !!this.statusoid.retweeted_status }, retweeter () { return this.statusoid.user.name || this.statusoid.user.screen_name }, retweeterHtml () { return this.statusoid.user.name_html }, + retweeterProfileLink () { return this.generateUserProfileLink(this.statusoid.user.id, this.statusoid.user.screen_name) }, status () { if (this.retweet) { return this.statusoid.retweeted_status diff --git a/src/components/status/status.vue b/src/components/status/status.vue index 3e3e82bf..a1f79402 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -15,8 +15,11 @@
- - {{retweeter}} + + + {{retweeterHtml || retweeter}} + + {{$t('timeline.repeated')}}