MCPcopy Create free account
hub / github.com/Dispatcharr/Dispatcharr / timeChange

Function timeChange

frontend/src/utils/forms/RecordingUtils.js:42–45  ·  view source on GitHub ↗
(setter)

Source from the content-addressed store, hash-verified

40
41// robust onChange for TimeInput (string or event)
42export const timeChange = (setter) => (valOrEvent) => {
43 if (typeof valOrEvent === 'string') setter(valOrEvent);
44 else if (valOrEvent?.currentTarget) setter(valOrEvent.currentTarget.value);
45};
46
47export const getChannelsSummary = () => {
48 return API.getChannelsSummary();

Callers 2

RecordingModalFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected