From 7761ac19de2d32bdd8832814cb252a975ecf7c1e Mon Sep 17 00:00:00 2001 From: CJ <72030708+Teda1@users.noreply.github.com> Date: Tue, 7 Feb 2023 22:08:38 -0600 Subject: [PATCH] Add count attribute to badges (#3405) --- ui/v2.5/src/components/Shared/Counter.tsx | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/ui/v2.5/src/components/Shared/Counter.tsx b/ui/v2.5/src/components/Shared/Counter.tsx index d0552605f..8fb0bd55c 100644 --- a/ui/v2.5/src/components/Shared/Counter.tsx +++ b/ui/v2.5/src/components/Shared/Counter.tsx @@ -17,7 +17,12 @@ export const Counter: React.FC = ({ if (abbreviateCounter) { const formated = TextUtils.abbreviateCounter(count); return ( - + = ({ ); } else { return ( - + {intl.formatNumber(count)} );