diff --git a/plugins/main/public/components/common/welcome/components/vuls_severity_stat/vuls_severity_stat.tsx b/plugins/main/public/components/common/welcome/components/vuls_severity_stat/vuls_severity_stat.tsx index 8796d682d2..97979e0033 100644 --- a/plugins/main/public/components/common/welcome/components/vuls_severity_stat/vuls_severity_stat.tsx +++ b/plugins/main/public/components/common/welcome/components/vuls_severity_stat/vuls_severity_stat.tsx @@ -1,8 +1,9 @@ import React from 'react'; import { EuiStat, EuiStatProps } from '@elastic/eui'; +import { formatUIStringWithNumbers } from '../../../../../react-services/format-number'; type VulsSeverityStatProps = { - value: string; + value: number; color: string; textAlign?: EuiStatProps['textAlign']; statElement?: EuiStatProps['descriptionElement']; @@ -19,7 +20,7 @@ export default function VulsSeverityStat({ return ( { + return Number(match).toLocaleString('en-US'); + }); +}