Lists implementation: make route naming consistent
This commit is contained in:
parent
b5eba5974c
commit
891fbf996d
7 changed files with 9 additions and 9 deletions
|
|
@ -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' })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue