Skip to content

Commit

Permalink
i18n number too
Browse files Browse the repository at this point in the history
  • Loading branch information
Brent Kimmel committed Oct 8, 2020
1 parent 9a26b79 commit 3ef426d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import { i18n } from '@kbn/i18n';
import React, { useMemo } from 'react';
import { FormattedMessage } from 'react-intl';
import { EuiI18nNumber } from '@elastic/eui';
import { ResolverNodeStats } from '../../../common/endpoint/types';
import { useRelatedEventByCategoryNavigation } from './use_related_event_by_category_navigation';
import { useColors } from './use_colors';
Expand Down Expand Up @@ -120,7 +121,7 @@ export const NodeSubMenuComponents = React.memo(
id="xpack.securitySolution.endpoint.resolver.node.pillNumber"
description=""
defaultMessage="{mantissa}{scale}{hasRemainder}"
values={{ mantissa, scale, hasRemainder }}
values={{ mantissa: <EuiI18nNumber value={mantissa} />, scale, hasRemainder }}
/>
);
return {
Expand Down

0 comments on commit 3ef426d

Please sign in to comment.