fix: better kanban updateBucket types
This commit is contained in:
parent
35f4bb1385
commit
964aba4824
|
@ -364,7 +364,7 @@ export const useKanbanStore = defineStore('kanban', {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
async updateBucket(updatedBucketData: IBucket) {
|
async updateBucket(updatedBucketData: Partial<IBucket>) {
|
||||||
const cancel = setModuleLoading(this)
|
const cancel = setModuleLoading(this)
|
||||||
|
|
||||||
const bucketIndex = findIndexById(this.buckets, updatedBucketData.id)
|
const bucketIndex = findIndexById(this.buckets, updatedBucketData.id)
|
||||||
|
|
Reference in New Issue