mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-22 21:15:35 +03:00
Using culture-specific approach instead of regex
This commit is contained in:
parent
0c4646201f
commit
98bf5322a3
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +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, ','),
|
||||
Cell: props => new Number(props.value).toLocaleString(),
|
||||
}, {
|
||||
Header: 'Last time updated',
|
||||
accessor: 'lastUpdated',
|
||||
|
|
Loading…
Reference in a new issue