mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[ES|QL] Small improvements on the warnings/errors (#172782)
## Summary
This is a PR which:
- Corrects the icon shown in warnings (it was displaying the error icon
which is wrong)
<img width="1253" alt="image"
src="4f388edd
-734c-4299-9def-841ac6fccba1">
- Makes the icon also clickable (opens the popover with the list of
warnings/errors)
Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
This commit is contained in:
parent
9e920faacc
commit
71ed936685
1 changed files with 8 additions and 1 deletions
|
@ -109,7 +109,14 @@ export function ErrorsWarningsPopover({
|
|||
<EuiFlexItem grow={false}>
|
||||
<EuiFlexGroup gutterSize="xs" responsive={false} alignItems="center">
|
||||
<EuiFlexItem grow={false}>
|
||||
<EuiIcon type="error" color={strings.color} size="s" />
|
||||
<EuiIcon
|
||||
type={type}
|
||||
color={strings.color}
|
||||
size="s"
|
||||
onClick={() => {
|
||||
setIsPopoverOpen(!isPopoverOpen);
|
||||
}}
|
||||
/>
|
||||
</EuiFlexItem>
|
||||
<EuiFlexItem grow={false}>
|
||||
<EuiPopover
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue