From e2fb50c39bfc63186ac1b6417ac905ffdcd121f4 Mon Sep 17 00:00:00 2001 From: kolaente Date: Thu, 11 Jun 2020 23:35:50 +0200 Subject: [PATCH] Show task index instead of id on kanban --- src/components/lists/views/Kanban.vue | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/src/components/lists/views/Kanban.vue b/src/components/lists/views/Kanban.vue index 1e643f5b..406cfb91 100644 --- a/src/components/lists/views/Kanban.vue +++ b/src/components/lists/views/Kanban.vue @@ -57,7 +57,12 @@ Done - #{{ task.id }} + + { @@ -379,7 +388,10 @@ return } - const newBucket = new BucketModel({title: this.newBucketTitle, listId: parseInt(this.$route.params.listId)}) + const newBucket = new BucketModel({ + title: this.newBucketTitle, + listId: parseInt(this.$route.params.listId) + }) this.$store.dispatch('kanban/createBucket', newBucket) .then(() => {