Skip to content

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

feat(frontend): allow canceling pending tasks (#2999)

Liu Ji78a46c2cef09
diff --git a/frontend/src/utils/pipeline.ts b/frontend/src/utils/pipeline.ts
index d4b2388fd5..b03e49c152 100644
--- a/frontend/src/utils/pipeline.ts
+++ b/frontend/src/utils/pipeline.ts
@@ -229,7 +229,7 @@ const APPLICABLE_TASK_TRANSITION_LIST: Map<
TaskStatus,
TaskStatusTransitionType[]
> = new Map([
- ["PENDING", []],
+ ["PENDING", ["CANCEL"]],
["PENDING_APPROVAL", ["APPROVE"]],
["RUNNING", ["CANCEL"]],
["DONE", []],