Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

fix: move task

tiran13396558f74e572
diff --git a/apps/api/src/task/controllers/get-tasks.ts b/apps/api/src/task/controllers/get-tasks.ts
index cf6495fff..fe9a4d4e4 100644
--- a/apps/api/src/task/controllers/get-tasks.ts
+++ b/apps/api/src/task/controllers/get-tasks.ts
@@ -223,6 +223,7 @@ async function getTasks(projectId: string, options: GetTasksOptions = {}) {
const columns = projectColumns.map((column) => ({
id: column.slug,
+ slug: column.slug,
name: column.name,
isFinal: column.isFinal,
tasks: paginatedTasks
diff --git a/apps/web/src/components/task/task-move-popover.tsx b/apps/web/src/components/task/task-move-popover.tsx
index ae3671642..a5b51cfd7 100644
--- a/apps/web/src/components/task/task-move-popover.tsx
+++ b/apps/web/src/components/task/task-move-popover.tsx
@@ -127,7 +127,7 @@ export default function TaskMovePopover({
return (
<Popover open={open} onOpenChange={setOpen}>
- <PopoverTrigger asChild nativeButton={false}>
+ <PopoverTrigger asChild>
<Button
type="button"
variant="outline"
@@ -150,7 +150,7 @@ export default function TaskMovePopover({
{t("tasks:move.projectLabel")}
</Label>
<Select
- value={selectedProjectId || undefined}
+ value={selectedProjectId}
onValueChange={(value) =>
setSelectedProjectId(String(value ?? ""))
}