Add debug logs for loading list + kanban buckets
continuous-integration/drone/push Build is failing Details

This commit is contained in:
kolaente 2020-07-24 10:42:30 +02:00
parent a09cefd9f1
commit 3acadfc6db
Signed by: konrad
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)