fix console errors
This commit is contained in:
parent
a3b8e7ad99
commit
963f1679e0
4 changed files with 25 additions and 10 deletions
|
@ -139,7 +139,10 @@ const Status = {
|
|||
return this.generateUserProfileLink(this.status.user.id, this.status.user.screen_name)
|
||||
},
|
||||
replyProfileLink () {
|
||||
return this.$store.getters.findUser(this.status.in_reply_to_user_id).statusnet_profile_url
|
||||
if (this.isReply) {
|
||||
const user = this.$store.getters.findUser(this.status.in_reply_to_user_id)
|
||||
return user && user.statusnet_profile_url
|
||||
}
|
||||
},
|
||||
retweet () { return !!this.statusoid.retweeted_status },
|
||||
retweeterUser () { return this.statusoid.user },
|
||||
|
|
|
@ -262,6 +262,8 @@
|
|||
class="mention-link"
|
||||
:content="replyToName"
|
||||
:url="replyProfileLink"
|
||||
:userId="status.in_reply_to_user_id"
|
||||
:userScreenName="status.in_reply_to_screen_name"
|
||||
:first-mention="false"
|
||||
/>
|
||||
<span
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue