aboutsummaryrefslogtreecommitdiff
path: root/src/components/timeline_menu
diff options
context:
space:
mode:
authorShpuld Shpuldson <shp@cock.li>2020-07-23 15:09:32 +0300
committerShpuld Shpuldson <shp@cock.li>2020-07-23 15:09:32 +0300
commitfdbacba36a99b1f2ef200b8194a1964d9b87f9e1 (patch)
tree26cad6cd1b573e790514268312358a179a6f4b09 /src/components/timeline_menu
parent3598360ce55bf7701716a9974599f901ddb66bf7 (diff)
resume last lasttime instead of always friends/public
Diffstat (limited to 'src/components/timeline_menu')
-rw-r--r--src/components/timeline_menu/timeline_menu.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/timeline_menu/timeline_menu.js b/src/components/timeline_menu/timeline_menu.js
index 02c1318d..0afeb8b4 100644
--- a/src/components/timeline_menu/timeline_menu.js
+++ b/src/components/timeline_menu/timeline_menu.js
@@ -26,6 +26,7 @@ const TimelineMenu = {
if (this.currentUser && this.currentUser.locked) {
this.$store.dispatch('startFetchingFollowRequests')
}
+ this.$store.dispatch('setLastTimeline', this.$route.name)
},
methods: {
openMenu () {