Skip to content

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

Add missing PENDING_APPROVAL and CANCELED task status order in home view

天舟843bf9b6fdf3
diff --git a/frontend/src/views/Home.vue b/frontend/src/views/Home.vue
index e8d6e4e8ab..7826009a74 100644
--- a/frontend/src/views/Home.vue
+++ b/frontend/src/views/Home.vue
@@ -169,12 +169,16 @@ export default {
switch (status) {
case "FAILED":
return 0;
- case "PENDING":
+ case "PENDING_APPROVAL":
return 1;
- case "RUNNING":
+ case "PENDING":
return 2;
- case "DONE":
+ case "RUNNING":
return 3;
+ case "DONE":
+ return 4;
+ case "CANCELED":
+ return 5;
}
};
const aStatusOrder = statusOrder(activeTask(a.pipeline).status);