From e57562959f5e71fd6e3bf180e2856d504ffb1fcf Mon Sep 17 00:00:00 2001 From: Shpuld Shpuldson Date: Tue, 28 Jul 2020 09:41:00 +0300 Subject: [PATCH] fix oops --- src/components/timeline_menu/timeline_menu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/timeline_menu/timeline_menu.js b/src/components/timeline_menu/timeline_menu.js index fcc7b4ef..c0d75c54 100644 --- a/src/components/timeline_menu/timeline_menu.js +++ b/src/components/timeline_menu/timeline_menu.js @@ -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) } },