forked from AkkomaGang/akkoma-fe
Fetch user from timeline.
This commit is contained in:
parent
5328aca1ef
commit
bbb9a9c93c
1 changed files with 5 additions and 1 deletions
|
@ -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 a new issue