Commit 975b4c9
committed
fix(app): show evidence block for failed automation runs
The automation-run detail card in Compliance → Task → Integration Checks
rendered a "View Evidence" expandable JSON tree for every *passing*
result but never for a *failing* one — even though the backend saves the
same `evidence` payload for both and the API returns it identically.
After the Dependabot severity-gating change (#2643), failing runs
surface useful context in their evidence (open_by_severity breakdown,
checked_at, etc.) that users need to understand *why* the check failed.
Hiding it behind a UI inconsistency defeats that.
Mirror the passing block's `details > EvidenceJsonView` pattern onto the
findings map so both states render identically.1 parent d75757c commit 975b4c9
1 file changed
Lines changed: 12 additions & 0 deletions
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1046 | 1046 | | |
1047 | 1047 | | |
1048 | 1048 | | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
1049 | 1061 | | |
1050 | 1062 | | |
1051 | 1063 | | |
| |||
0 commit comments