Formatted 'Rules count' number with ',' separator
147500 => 147,500
This commit is contained in:
parent
12706d4a97
commit
66b83a5fb5
@ -50,6 +50,7 @@ class Filters extends Component {
|
|||||||
Header: 'Rules count',
|
Header: 'Rules count',
|
||||||
accessor: 'rulesCount',
|
accessor: 'rulesCount',
|
||||||
className: 'text-center',
|
className: 'text-center',
|
||||||
|
Cell: props => props.value.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",")
|
||||||
}, {
|
}, {
|
||||||
Header: 'Last time updated',
|
Header: 'Last time updated',
|
||||||
accessor: 'lastUpdated',
|
accessor: 'lastUpdated',
|
||||||
|
Loading…
Reference in New Issue
Block a user