diff --git a/src/styles/components/kanban.scss b/src/styles/components/kanban.scss
index cbb6bc7e..48a4972e 100644
--- a/src/styles/components/kanban.scss
+++ b/src/styles/components/kanban.scss
@@ -221,10 +221,6 @@ $crazy-height-calculation: '100vh - 4.5rem - 1.5rem - 1em - 1.5em - 8px';
a.dropdown-item {
padding-right: 1rem;
-
- .input {
- height: 2.25em;
- }
}
}
diff --git a/src/views/list/views/Kanban.vue b/src/views/list/views/Kanban.vue
index ba67a504..2569321c 100644
--- a/src/views/list/views/Kanban.vue
+++ b/src/views/list/views/Kanban.vue
@@ -23,7 +23,7 @@
saveBucketTitle(bucket.id)"
- @keyup.enter="() => saveBucketTitle(bucket.id)"
+ @keydown.enter.prevent.stop="() => saveBucketTitle(bucket.id)"
class="title input"
contenteditable="true"
spellcheck="false">{{ bucket.title }}
@@ -532,6 +532,9 @@ export default {
})
this.$store.dispatch('kanban/deleteBucket', bucket)
+ .then(() => {
+ this.success({message: 'The bucket has been deleted successfully.'}, this)
+ })
.catch(e => {
this.error(e, this)
})
@@ -560,6 +563,7 @@ export default {
.then(r => {
realBucket.title = r.title
bucketTitleElement.blur()
+ this.success({message: 'The bucket title has been saved successfully.'}, this)
})
.catch(e => {
this.error(e, this)
@@ -568,6 +572,9 @@ export default {
updateBucket(bucket) {
bucket.limit = parseInt(bucket.limit)
this.$store.dispatch('kanban/updateBucket', bucket)
+ .then(() => {
+ this.success({message: 'The bucket limit been saved successfully.'}, this)
+ })
.catch(e => {
this.error(e, this)
})