Make sure to make the list id from the route an int to not fail the comparison
This commit is contained in:
@ -92,7 +92,9 @@
|
||||
if (
|
||||
this.$route.params.listId === this.listLoaded ||
|
||||
typeof this.$route.params.listId === 'undefined' ||
|
||||
this.$route.params.listId === this.currentList.id) {
|
||||
this.$route.params.listId === this.currentList.id ||
|
||||
parseInt(this.$route.params.listId) === this.currentList.id
|
||||
) {
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user