(option)
| 34 | } |
| 35 | |
| 36 | export const getAgentConfigOptionLabel = (option) => { |
| 37 | if (typeof option !== 'object' || option === null) return option |
| 38 | return option.name || option.label || getAgentConfigOptionValue(option) |
| 39 | } |
| 40 | |
| 41 | export const getAgentConfigOptionDescription = (option) => |
| 42 | typeof option === 'object' && option !== null ? option.description || '' : '' |
no test coverage detected