(channel)
| 110 | |
| 111 | // Human labels for the table's overrides indicator tooltip. |
| 112 | export const listOverriddenFields = (channel) => { |
| 113 | if (!channel?.override) return []; |
| 114 | return OVERRIDABLE_FIELDS.filter((field) => { |
| 115 | const value = channel.override[field]; |
| 116 | return value !== null && value !== undefined; |
| 117 | }).map((field) => OVERRIDE_FIELD_LABELS[field]); |
| 118 | }; |
| 119 | |
| 120 | // "Provider: <value>" subtext for auto-synced channels (null for manual). |
| 121 | export const getProviderHint = (channel, field) => { |
no test coverage detected