Add debug logs for loading list + kanban buckets

This commit is contained in:
kolaente 2020-07-24 10:42:30 +02:00
parent a09cefd9f1
commit 3acadfc6db
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
2 changed files with 5 additions and 0 deletions

View file

@ -106,9 +106,12 @@
const savedListView = getListView(this.$route.params.listId)
router.replace({name: savedListView, params: {id: this.$route.params.listId}})
console.debug('Replaced list view with ', savedListView)
return
}
console.debug('Loading list, $route.name = ', this.$route.name, ', $route.params = ', this.$route.params)
// 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})
this.listService.get(list)

View file

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