forked from AkkomaGang/akkoma-fe
fix 403
This commit is contained in:
parent
4c58e2f4ea
commit
08ea0383fd
1 changed files with 3 additions and 3 deletions
|
|
@ -117,14 +117,14 @@ const UserProfile = {
|
|||
replies: 'replies',
|
||||
media: 'media'
|
||||
}
|
||||
// only we can see our own favourites
|
||||
if (this.isUs) timelineTabMap['favorites'] = 'favorites'
|
||||
|
||||
if (this.favoritesTabVisible) timelineTabMap['favorites'] = 'favorites'
|
||||
|
||||
const timeline = timelineTabMap[nextTab]
|
||||
|
||||
if (timeline) {
|
||||
this.stopFetching()
|
||||
this.$store.dispatch('startFetchingTimeline', { timeline: timeline, userId: this.userId })
|
||||
this.$store.dispatch('startFetchingTimeline', { timeline: timeline, userId: nextTab == 'favorites' && this.isUs ? null : this.userId })
|
||||
}
|
||||
},
|
||||
load (userNameOrId) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue