Skip to content

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

feat(frontend): disable approval button when a task has check error (#1916)

Liu Jic62c68c795ff
diff --git a/frontend/src/components/Issue/StatusTransitionForm.vue b/frontend/src/components/Issue/StatusTransitionForm.vue
index 4c3a861c87..7e5d92a0fd 100644
--- a/frontend/src/components/Issue/StatusTransitionForm.vue
+++ b/frontend/src/components/Issue/StatusTransitionForm.vue
@@ -236,6 +236,7 @@ export default defineComponent({
case "TASK": {
switch ((props.transition as TaskStatusTransition).to) {
case "RUNNING":
+ case "PENDING": // fallthrough
return (
runningCheckCount.value == 0 &&
checkSummary.value.errorCount == 0