From db5511c9d6321ab09c62b4881a1cac1fe1e89dbd Mon Sep 17 00:00:00 2001 From: kolaente Date: Wed, 19 Mar 2025 15:28:18 +0100 Subject: [PATCH] fix(kanban): do not allow creating tasks in full bucket in frontend --- frontend/src/components/project/views/ProjectKanban.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/src/components/project/views/ProjectKanban.vue b/frontend/src/components/project/views/ProjectKanban.vue index 4597c665b..458de580e 100644 --- a/frontend/src/components/project/views/ProjectKanban.vue +++ b/frontend/src/components/project/views/ProjectKanban.vue @@ -576,6 +576,11 @@ async function addTaskToBucket(bucketId: IBucket['id']) { newTaskText.value = '' kanbanStore.addTaskToBucket(task) scrollTaskContainerToTop(bucketId) + + const bucket = kanbanStore.getBucketById(bucketId) + if (bucket && bucket.count >= bucket.limit) { + toggleShowNewTaskInput(bucketId) + } } function scrollTaskContainerToTop(bucketId: IBucket['id']) {