diff --git a/src/store/modules/kanban.js b/src/store/modules/kanban.js index e290d5f3..d9e255fc 100644 --- a/src/store/modules/kanban.js +++ b/src/store/modules/kanban.js @@ -16,7 +16,7 @@ export default { }), mutations: { setListId(state, listId) { - state.listId = listId + state.listId = parseInt(listId) }, setBuckets(state, buckets) { state.buckets = buckets diff --git a/src/views/list/ShowList.vue b/src/views/list/ShowList.vue index 0c1b5f5c..cb70bb34 100644 --- a/src/views/list/ShowList.vue +++ b/src/views/list/ShowList.vue @@ -92,7 +92,9 @@ if ( this.$route.params.listId === this.listLoaded || typeof this.$route.params.listId === 'undefined' || - this.$route.params.listId === this.currentList.id) { + this.$route.params.listId === this.currentList.id || + parseInt(this.$route.params.listId) === this.currentList.id + ) { return }