Add more debugging when loading lists or buckets

This commit is contained in:
kolaente 2020-07-25 15:07:22 +02:00
parent dc4f85e808
commit 708b057634
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
2 changed files with 2 additions and 2 deletions

View file

@ -112,7 +112,7 @@
return return
} }
console.debug('Loading list, $route.name = ', this.$route.name, ', $route.params = ', this.$route.params) console.debug(`Loading list, $route.name = ${this.$route.name}, $route.params =`, this.$route.params, `, listLoaded = ${this.listLoaded}, currentList = `, this.currentList)
// We create an extra list object instead of creating it in this.list because that would trigger a ui update which would result in bad ux. // We create an extra list object instead of creating it in this.list because that would trigger a ui update which would result in bad ux.
let list = new ListModel({id: this.$route.params.listId}) let list = new ListModel({id: this.$route.params.listId})

View file

@ -268,7 +268,7 @@
return return
} }
console.debug('Loading buckets, loadedListId = ', this.loadedListId) console.debug(`Loading buckets, loadedListId = ${this.loadedListId}, $route.params =`, this.$route.params)
this.$store.dispatch('kanban/loadBucketsForList', this.$route.params.listId) this.$store.dispatch('kanban/loadBucketsForList', this.$route.params.listId)
.catch(e => { .catch(e => {