1
0

Fix removing a kanban bucket

This commit is contained in:
kolaente
2020-12-28 23:42:09 +01:00
parent 2c273a7fd9
commit ddd24825a3
3 changed files with 7 additions and 4 deletions

View File

@ -157,7 +157,7 @@ export default {
.then(r => {
ctx.commit('removeBucket', bucket)
// We reload all buckets because tasks are being moved from the deleted bucket
ctx.dispatch('loadBucketsForList', bucket.listId)
ctx.dispatch('loadBucketsForList', {listId: bucket.listId})
return Promise.resolve(r)
})
.catch(e => {

View File

@ -31,8 +31,8 @@
:class="{'is-max': bucket.tasks.length >= bucket.limit}"
class="limit"
v-if="bucket.limit > 0">
{{ bucket.tasks.length }}/{{ bucket.limit }}
</span>
{{ bucket.tasks.length }}/{{ bucket.limit }}
</span>
<div
:class="{ 'is-active': bucketOptionsDropDownActive[bucket.id] }"
class="dropdown is-right options"