1
0

Add task filter for kanban

This commit is contained in:
kolaente
2020-12-22 12:49:34 +01:00
parent 1c95e7eae9
commit 0f77ad2d58
3 changed files with 35 additions and 5 deletions

View File

@ -113,14 +113,14 @@ export default {
},
},
actions: {
loadBucketsForList(ctx, listId) {
loadBucketsForList(ctx, {listId, params}) {
const cancel = setLoading(ctx)
// Clear everything to prevent having old buckets in the list if loading the buckets from this list takes a few moments
ctx.commit('setBuckets', [])
const bucketService = new BucketService()
return bucketService.getAll({listId: listId})
return bucketService.getAll({listId: listId}, params)
.then(r => {
ctx.commit('setBuckets', r)
ctx.commit('setListId', listId)