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

Function toggleDay

src/components/CronJobModal.tsx:157–161  ·  view source on GitHub ↗
(day: number)

Source from the content-addressed store, hash-verified

155 };
156
157 const toggleDay = (day: number) => {
158 setSelectedDays((prev) =>
159 prev.includes(day) ? prev.filter((d) => d !== day) : [...prev, day].sort()
160 );
161 };
162
163 const nextRuns = isValidCron(schedule) ? getNextRuns(schedule, 5) : [];
164

Callers 1

CronJobModalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected