-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Cloud Security] fix 'show 1 alerts' bug #191062
Conversation
values={{ | ||
count: <strong>{totalAlertsCount}</strong>, | ||
count: totalAlertsCount, | ||
bold: (str: string) => <strong>{str}</strong>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
before and after image for that could be nice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have a quick way to have session view data in my local env, but check the unit test, it should cover it, at least the text is there. The markup should work as well, taken straight from the docs https://formatjs.io/docs/react-intl/components#rich-text-formatting. But if we have a quick way to have the session view in local, happy to test it manually
💚 Build Succeeded
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
Pinging @elastic/kibana-cloud-security-posture (Team:Cloud Security) |
Summary
Using plural from
react-intl
in the Session View forShow N alerts
text