Lists implementation: make route naming consistent

This commit is contained in:
Alexander Tumin 2022-08-06 21:39:08 +03:00
commit 891fbf996d
7 changed files with 9 additions and 9 deletions

View file

@ -13,7 +13,7 @@ const ListsTimeline = {
},
watch: {
$route: function (route) {
if (route.name === 'list-timeline' && route.params.id !== this.listId) {
if (route.name === 'lists-timeline' && route.params.id !== this.listId) {
this.listId = route.params.id
this.$store.dispatch('stopFetchingTimeline', 'list')
this.$store.commit('clearTimeline', { timeline: 'list' })