Commit 5f194bc
authored
fix(agents): Add error boundary around ModelsTable (#110509)
Wrap `ModelsTable` with `<ErrorBoundary mini>` on the agent models
landing page so that rendering errors (e.g. null `modelId` hitting
`.toLowerCase()`) are contained within the table instead of crashing the
entire page.
This follows the existing pattern of wrapping table consumers at the
call site. The widget footer error boundary was added in #110506 but
`ModelsTable` (a standalone `GridEditable` table) was unprotected.1 parent ed11534 commit 5f194bc
File tree
1 file changed
+4
-1
lines changed- static/app/views/insights/agentModels/views
1 file changed
+4
-1
lines changedLines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
103 | 104 | | |
104 | 105 | | |
105 | 106 | | |
106 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
107 | 110 | | |
108 | 111 | | |
109 | 112 | | |
| |||
0 commit comments