Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

feat(frontend): remove "Cancel" button for task status transition (#1610)

Liu Jia37013266a5c
diff --git a/frontend/src/utils/pipeline.ts b/frontend/src/utils/pipeline.ts
index 34c3e1a7fd..f12f3adde3 100644
--- a/frontend/src/utils/pipeline.ts
+++ b/frontend/src/utils/pipeline.ts
@@ -217,7 +217,7 @@ const APPLICABLE_TASK_TRANSITION_LIST: Map<
> = new Map([
["PENDING", ["RUN"]],
["PENDING_APPROVAL", ["APPROVE"]],
- ["RUNNING", ["CANCEL"]],
+ ["RUNNING", []],
["DONE", []],
["FAILED", ["RETRY"]],
]);