Skip to content

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

Remove the ActionType.SUCCESS as it’s not used for now.

天舟c16205aa2d5c
diff --git a/frontend/src/views/TaskDetail.vue b/frontend/src/views/TaskDetail.vue
index 3312e926db..c3cedd44ec 100644
--- a/frontend/src/views/TaskDetail.vue
+++ b/frontend/src/views/TaskDetail.vue
@@ -194,9 +194,8 @@ const GUEST_APPLICABLE_STAGE_ACTION_LIST: Map<
// Use enum so it's easier to do numeric comparison to sort the button.
enum ActionType {
- SUCCESS = 0,
- PRIMARY = 1,
- NORMAL = 2,
+ PRIMARY = 0,
+ NORMAL = 1,
}
interface Transition {
@@ -525,8 +524,6 @@ export default {
const actionButtonClass = (actionType: ActionType) => {
switch (actionType) {
- case ActionType.SUCCESS:
- return "btn-success";
case ActionType.PRIMARY:
return "btn-primary";
case ActionType.NORMAL: