MCPcopy Create free account
hub / github.com/Fibi66/FeiControl / getJobColor

Function getJobColor

src/components/CronWeeklyTimeline.tsx:39–41  ·  view source on GitHub ↗
(index: number)

Source from the content-addressed store, hash-verified

37];
38
39function getJobColor(index: number): string {
40 return JOB_COLORS[index % JOB_COLORS.length];
41}
42
43function getScheduleExpr(schedule: string | Record<string, unknown>): string | null {
44 if (typeof schedule === "string") return schedule;

Callers 1

CronWeeklyTimelineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected