Formatted 'Rules count' number with ',' separator

147500 => 147,500
This commit is contained in:
Mustakim Ali 2018-10-20 16:50:25 +01:00
parent 12706d4a97
commit 66b83a5fb5

View File

@ -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',