fix reply-to marker, also whoops console log
This commit is contained in:
parent
690c1dcd7a
commit
fe624f6114
2 changed files with 4 additions and 5 deletions
|
@ -145,11 +145,11 @@ const Status = {
|
|||
return !!(this.status.in_reply_to_status_id && this.status.in_reply_to_user_id)
|
||||
},
|
||||
replyToName () {
|
||||
const user = this.$store.state.users.usersObject[this.status.in_reply_to_user_id]
|
||||
if (user) {
|
||||
return user.screen_name
|
||||
} else {
|
||||
const user = this.$store.getters.findUser(this.status.in_reply_to_user_id)
|
||||
if (this.status.in_reply_to_screen_name) {
|
||||
return this.status.in_reply_to_screen_name
|
||||
} else {
|
||||
return user.screen_name
|
||||
}
|
||||
},
|
||||
hideReply () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue