(f)
| 445 | } |
| 446 | |
| 447 | function heroAction(f) { |
| 448 | const act = f.action; |
| 449 | if (act && act.kind && act.kind !== "fix_finding") { |
| 450 | return btn(act.label || "Run this step", act.kind, act.payload || {}, { primary: true }); |
| 451 | } |
| 452 | return btn((act && act.label) || "Help me fix this", "fix_finding", findingCtx(f), { primary: true }); |
| 453 | } |
| 454 | |
| 455 | function findingCard(x, ord) { |
| 456 | const locked = isFindingLocked(x, ord); |
no test coverage detected