Repository navigation
Commit c091143
committed
fix(app): validate session_diff is array in session-side-panel
The frontend may have cached malformed data where session_diff is not an array.
Changed from using ?? [] (which only handles null/undefined) to Array.isArray
validation to handle any non-array cached data.
Fixes anomalyco#192701 parent 5f12487 commit c091143
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
59 | 62 | | |
60 | 63 | | |
61 | 64 | | |
| |||
0 commit comments