This commit is contained in:
Shpuld Shpuldson 2020-07-28 09:41:00 +03:00
parent e86c5ea1fa
commit e57562959f
1 changed files with 1 additions and 1 deletions

View File

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