diff --git a/frontend/src/stores/kanban.ts b/frontend/src/stores/kanban.ts index b07f80512..94c626748 100644 --- a/frontend/src/stores/kanban.ts +++ b/frontend/src/stores/kanban.ts @@ -246,8 +246,9 @@ export const useKanbanStore = defineStore('kanban', () => { } async function loadNextTasksForBucket( - {projectId, ps = {}, bucketId} : - {projectId: IProject['id'], ps, bucketId: IBucket['id']}, + projectId: IProject['id'], + ps, + bucketId: IBucket['id'], ) { const isLoading = bucketLoading.value[bucketId] ?? false if (isLoading) { diff --git a/frontend/src/views/project/ProjectKanban.vue b/frontend/src/views/project/ProjectKanban.vue index 48ea82359..d5acd2076 100644 --- a/frontend/src/views/project/ProjectKanban.vue +++ b/frontend/src/views/project/ProjectKanban.vue @@ -416,11 +416,11 @@ function handleTaskContainerScroll(id: IBucket['id'], projectId: IProject['id'], return } - kanbanStore.loadNextTasksForBucket({ - projectId: projectId, - params: params.value, - bucketId: id, - }) + kanbanStore.loadNextTasksForBucket( + projectId, + params.value, + id, + ) } function updateTasks(bucketId: IBucket['id'], tasks: IBucket['tasks']) {