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

Function getProviderFormValue

frontend/src/utils/forms/ChannelUtils.js:91–95  ·  view source on GitHub ↗
(channel, field)

Source from the content-addressed store, hash-verified

89};
90
91export const getProviderFormValue = (channel, field) => {
92 const builder = PROVIDER_FORM_VALUE_BUILDERS[field];
93 if (builder) return builder(channel);
94 return channel?.[field] ?? '';
95};
96
97// Whether a field carries an override. Manual channels return false (no
98// provider value to override). True when a persisted override row holds a

Callers 1

ChannelFormFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected