fix: only load buckets if listId set (#2741)
Co-authored-by: Dominik Pschenitschni <mail@celement.de> Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/2741 Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de> Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
This commit is contained in:
parent
59cc241226
commit
7db79ff04e
@ -344,6 +344,9 @@ watch(
|
|||||||
params: params.value,
|
params: params.value,
|
||||||
}),
|
}),
|
||||||
({listId, params}) => {
|
({listId, params}) => {
|
||||||
|
if (listId === undefined) {
|
||||||
|
return
|
||||||
|
}
|
||||||
collapsedBuckets.value = getCollapsedBucketState(listId)
|
collapsedBuckets.value = getCollapsedBucketState(listId)
|
||||||
kanbanStore.loadBucketsForList({listId, params})
|
kanbanStore.loadBucketsForList({listId, params})
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user