Commit 5b0bc12
Add tableCaption to EuiBasicTable in log entry rate anomalies table (elastic#267503)
Closes: elastic#267502
Fixes `@elastic/eui/require-table-caption` ESLint violation in the log
entry rate anomalies table owned by `@elastic/obs-presentation-team`.
- Added `tableCaption` prop with i18n-translated string to
`EuiBasicTable` in
`x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/sections/anomalies/table.tsx`
```tsx
<EuiBasicTable
tableCaption={i18n.translate('xpack.infra.logs.analysis.anomaliesTableCaption', {
defaultMessage: 'Log entry anomalies',
})}
items={tableItems}
...
/>
```
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: alexwizp <20072247+alexwizp@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>1 parent 1cb1124 commit 5b0bc12
1 file changed
Lines changed: 3 additions & 0 deletions
File tree
- x-pack/solutions/observability/plugins/infra/public/pages/logs/log_entry_rate/sections/anomalies
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
210 | 213 | | |
211 | 214 | | |
212 | 215 | | |
| |||
0 commit comments