Merge branch 'fix/repeats-dont-show-any-name-if-display-name-is-empty' into 'develop'

fix #157 show screen_name when name is empty in retweet

Closes #157

See merge request pleroma/pleroma-fe!508
This commit is contained in:
Shpuld Shpludson 2019-02-02 05:52:39 +00:00
commit 0fba655cf0

View File

@ -87,7 +87,7 @@ const Status = {
} }
}, },
retweet () { return !!this.statusoid.retweeted_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 }, retweeterHtml () { return this.statusoid.user.name_html },
status () { status () {
if (this.retweet) { if (this.retweet) {