Function
generateConfig
({ label, value, visible, cssKey })
Source from the content-addressed store, hash-verified
| 1169 | } |
| 1170 | |
| 1171 | function generateConfig({ label, value, visible, cssKey }) { |
| 1172 | if (!visible) return null |
| 1173 | return `<div class="taskConfigContainer task${cssKey}Container"><b>${label}:</b> <span class="task${cssKey}">${value}` |
| 1174 | } |
| 1175 | |
| 1176 | function getVisibleConfig(config, task) { |
| 1177 | const mergedTaskConfig = { ...config.taskConfig, ...config.pluginTaskConfig } |
Tested by
no test coverage detected