Files
homarr/packages/widgets/src/vpn/helpers.ts
T

6 lines
147 B
TypeScript

export const RUNNING_STATUS = "running";
export function getStatusColor(status: string) {
return status === RUNNING_STATUS ? "green" : "red";
}