6 lines
147 B
TypeScript
6 lines
147 B
TypeScript
export const RUNNING_STATUS = "running";
|
|
|
|
export function getStatusColor(status: string) {
|
|
return status === RUNNING_STATUS ? "green" : "red";
|
|
}
|