Fix comparing the currently loaded list with the current list to make sure to only load the list if needed

This commit is contained in:
kolaente 2020-07-25 15:10:36 +02:00
parent 708b057634
commit 5521ba7c71
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -264,7 +264,10 @@
} }
// Only load buckets if we don't already loaded them // Only load buckets if we don't already loaded them
if (this.loadedListId === this.$route.params.listId) { if (
this.loadedListId === this.$route.params.listId ||
this.loadedListId === parseInt(this.$route.params.listId)
) {
return return
} }