This commit is contained in:
Shpuld Shpuldson 2020-07-28 09:41:00 +03:00
parent e86c5ea1fa
commit e57562959f

View File

@ -26,7 +26,7 @@ const TimelineMenu = {
if (this.currentUser && this.currentUser.locked) { if (this.currentUser && this.currentUser.locked) {
this.$store.dispatch('startFetchingFollowRequests') this.$store.dispatch('startFetchingFollowRequests')
} }
if (timelineNames().includes(this.$route.name)) { if (timelineNames()[this.$route.name]) {
this.$store.dispatch('setLastTimeline', this.$route.name) this.$store.dispatch('setLastTimeline', this.$route.name)
} }
}, },