Add debug logs for loading list + kanban buckets
This commit is contained in:
parent
a09cefd9f1
commit
3acadfc6db
2 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue