From 3acadfc6db0ebdac6da5ce90fa9072f132422292 Mon Sep 17 00:00:00 2001 From: kolaente Date: Fri, 24 Jul 2020 10:42:30 +0200 Subject: [PATCH] Add debug logs for loading list + kanban buckets --- src/views/list/ShowList.vue | 3 +++ src/views/list/views/Kanban.vue | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/views/list/ShowList.vue b/src/views/list/ShowList.vue index 5dd600f5..0c1b5f5c 100644 --- a/src/views/list/ShowList.vue +++ b/src/views/list/ShowList.vue @@ -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) diff --git a/src/views/list/views/Kanban.vue b/src/views/list/views/Kanban.vue index 893716bd..fa217c4e 100644 --- a/src/views/list/views/Kanban.vue +++ b/src/views/list/views/Kanban.vue @@ -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)