From 66b83a5fb5c9dae880107acde750339ebe5f9816 Mon Sep 17 00:00:00 2001 From: Mustakim Ali Date: Sat, 20 Oct 2018 16:50:25 +0100 Subject: [PATCH] Formatted 'Rules count' number with ',' separator 147500 => 147,500 --- client/src/components/Filters/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/components/Filters/index.js b/client/src/components/Filters/index.js index ebc69973..8c886cf7 100644 --- a/client/src/components/Filters/index.js +++ b/client/src/components/Filters/index.js @@ -50,6 +50,7 @@ class Filters extends Component { Header: 'Rules count', accessor: 'rulesCount', className: 'text-center', + Cell: props => props.value.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",") }, { Header: 'Last time updated', accessor: 'lastUpdated',