Skip to content

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

feat(frontend): do not show run button for PENDING tasks (#1871)

Liu Jic357a4a45078
diff --git a/frontend/src/utils/pipeline.ts b/frontend/src/utils/pipeline.ts
index f12f3adde3..cde06454d4 100644
--- a/frontend/src/utils/pipeline.ts
+++ b/frontend/src/utils/pipeline.ts
@@ -215,7 +215,7 @@ const APPLICABLE_TASK_TRANSITION_LIST: Map<
TaskStatus,
TaskStatusTransitionType[]
> = new Map([
- ["PENDING", ["RUN"]],
+ ["PENDING", []],
["PENDING_APPROVAL", ["APPROVE"]],
["RUNNING", []],
["DONE", []],