show timed_out tasks in history (#395)
This commit is contained in:
@@ -9,7 +9,11 @@ function StatusBadge({ status }: Props) {
|
||||
let variant: "default" | "success" | "destructive" | "warning" = "default";
|
||||
if (status === "completed") {
|
||||
variant = "success";
|
||||
} else if (status === "failed" || status === "terminated") {
|
||||
} else if (
|
||||
status === "failed" ||
|
||||
status === "terminated" ||
|
||||
status === "timed_out"
|
||||
) {
|
||||
variant = "destructive";
|
||||
} else if (status === "running") {
|
||||
variant = "warning";
|
||||
|
||||
Reference in New Issue
Block a user