Function
updateTarget
(stageIndex: number, targetIndex: number, value: string)
Source from the content-addressed store, hash-verified
| 287 | }; |
| 288 | |
| 289 | const updateTarget = (stageIndex: number, targetIndex: number, value: string) => { |
| 290 | const updated = [...stages]; |
| 291 | updated[stageIndex].targets[targetIndex].description = value; |
| 292 | setStages(updated); |
| 293 | }; |
| 294 | |
| 295 | const handleSave = () => { |
| 296 | const newConfig = editableToConfig(stages, config.id, modName, modNameEn, modDescription); |
Tested by
no test coverage detected