From 7d93beb96d5564b263341891ab7e9038c8d7223d Mon Sep 17 00:00:00 2001 From: Joshua Burch Date: Fri, 1 Feb 2019 17:40:06 -0500 Subject: [PATCH] fix #157 show screen_name when name is empty in retweet --- src/components/status/status.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/status/status.js b/src/components/status/status.js index ec4de516..aaac5b71 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -87,7 +87,7 @@ const Status = { } }, retweet () { return !!this.statusoid.retweeted_status }, - retweeter () { return this.statusoid.user.name }, + retweeter () { return this.statusoid.user.name || this.statusoid.user.screen_name }, retweeterHtml () { return this.statusoid.user.name_html }, status () { if (this.retweet) {