mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[Logs UI] Tweak copy in log alerts dialog (#64645)
This commit is contained in:
parent
34cccedc8e
commit
4c57ebb7cc
1 changed files with 9 additions and 0 deletions
|
@ -56,6 +56,11 @@ export const DocumentCount: React.FC<Props> = ({ comparator, value, updateCount,
|
|||
values: { value },
|
||||
});
|
||||
|
||||
const documentCountSuffix = i18n.translate('xpack.infra.logs.alertFlyout.documentCountSuffix', {
|
||||
defaultMessage: '{value, plural, one {occurs} other {occur}}',
|
||||
values: { value },
|
||||
});
|
||||
|
||||
return (
|
||||
<EuiFlexGroup gutterSize="s">
|
||||
<EuiFlexItem grow={false}>
|
||||
|
@ -122,6 +127,10 @@ export const DocumentCount: React.FC<Props> = ({ comparator, value, updateCount,
|
|||
</div>
|
||||
</EuiPopover>
|
||||
</EuiFlexItem>
|
||||
|
||||
<EuiFlexItem grow={false}>
|
||||
<EuiExpression description={documentCountSuffix} value="" />
|
||||
</EuiFlexItem>
|
||||
</EuiFlexGroup>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue