2
0
visuddhinanda 11 сар өмнө
parent
commit
aac6a540d7

+ 16 - 1
dashboard-v4/dashboard/src/components/api/task.ts

@@ -25,7 +25,22 @@ export type TTaskStatus =
   | "requested_restart"
   | "requested_restart"
   | "closed"
   | "closed"
   | "canceled"
   | "canceled"
-  | "expired";
+  | "expired"
+  | "queue"
+  | "stop";
+export const StatusButtons = [
+  "pending",
+  "published",
+  "running",
+  "done",
+  "restarted",
+  "requested_restart",
+  "closed",
+  "canceled",
+  "expired",
+  "queue",
+  "stop",
+];
 export type TTaskType = "instance" | "workflow" | "group";
 export type TTaskType = "instance" | "workflow" | "group";
 
 
 export interface IProject {
 export interface IProject {