diff options
| author | Shpuld Shpuldson <shp@cock.li> | 2020-07-28 09:41:00 +0300 |
|---|---|---|
| committer | Shpuld Shpuldson <shp@cock.li> | 2020-07-28 09:41:00 +0300 |
| commit | e57562959f5e71fd6e3bf180e2856d504ffb1fcf (patch) | |
| tree | 022a8ffd537c91c8ba2b3dc5e8a913232e51fec9 /src | |
| parent | e86c5ea1fa7dcbae582707430a821d2197576f7b (diff) | |
fix oops
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/timeline_menu/timeline_menu.js | 2 |
1 files changed, 1 insertions, 1 deletions
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) } }, |
