diff options
| author | Joshua Burch <xruselfmadex@yahoo.com> | 2019-02-01 17:40:06 -0500 |
|---|---|---|
| committer | Joshua Burch <xruselfmadex@yahoo.com> | 2019-02-01 17:40:06 -0500 |
| commit | 7d93beb96d5564b263341891ab7e9038c8d7223d (patch) | |
| tree | 8c6b06d76c2ff5cf33e81dc44a2bb9b0acf8c8b8 | |
| parent | 1a6207be1d81f8270840667babe262c24e53f1d7 (diff) | |
fix #157 show screen_name when name is empty in retweet
| -rw-r--r-- | src/components/status/status.js | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |
