fix flake id users not fetching correctly
This commit is contained in:
parent
885a3a77df
commit
6420c93e98
2 changed files with 10 additions and 2 deletions
|
@ -68,7 +68,8 @@ const UserProfile = {
|
|||
},
|
||||
userInStore () {
|
||||
const routeParams = this.$route.params
|
||||
return this.$store.getters.findUser(routeParams.name || routeParams.id)
|
||||
// This needs fetchedUserId so that computed will be refreshed when user is fetched
|
||||
return this.$store.getters.findUser(this.fetchedUserId || routeParams.name || routeParams.id)
|
||||
},
|
||||
user () {
|
||||
if (this.timeline.statuses[0]) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue