Fetch user from timeline.
This commit is contained in:
parent
5328aca1ef
commit
bbb9a9c93c
|
@ -15,7 +15,11 @@ const UserProfile = {
|
|||
return this.$route.params.id
|
||||
},
|
||||
user () {
|
||||
return this.$store.state.users.usersObject[this.userId]
|
||||
if (this.timeline.statuses[0]) {
|
||||
return this.timeline.statuses[0].user
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
}
|
||||
},
|
||||
components: {
|
||||
|
|
Loading…
Reference in New Issue