fix: use correct listId when deleting bucket
This commit is contained in:
parent
dfe401a9dc
commit
d7ed5b8f11
1 changed files with 3 additions and 4 deletions
|
@ -484,11 +484,10 @@ export default {
|
|||
this.showBucketDeleteModal = true
|
||||
},
|
||||
deleteBucket() {
|
||||
const bucket = new BucketModel({
|
||||
this.$store.dispatch('kanban/deleteBucket', {bucket: {
|
||||
id: this.bucketToDelete,
|
||||
})
|
||||
|
||||
this.$store.dispatch('kanban/deleteBucket', {bucket: bucket, params: this.params})
|
||||
listId: parseInt(this.$route.params.listId),
|
||||
}, params: this.params})
|
||||
.then(() => this.$message.success({message: this.$t('list.kanban.deleteBucketSuccess')}))
|
||||
.finally(() => {
|
||||
this.showBucketDeleteModal = false
|
||||
|
|
Loading…
Reference in a new issue