Merge pull request #411 from mustakimali/master
Formatted 'Rules count' number with thousands separator
This commit is contained in:
commit
b6bc613c87
|
@ -50,6 +50,7 @@ class Filters extends Component {
|
|||
Header: 'Rules count',
|
||||
accessor: 'rulesCount',
|
||||
className: 'text-center',
|
||||
Cell: props => props.value.toLocaleString(),
|
||||
}, {
|
||||
Header: 'Last time updated',
|
||||
accessor: 'lastUpdated',
|
||||
|
|
|
@ -62,6 +62,7 @@ const getTrackerDataFromDb = (domainName, trackersDb, source) => {
|
|||
/**
|
||||
* Gets the source metadata for the specified tracker
|
||||
* @param {TrackerData} trackerData tracker data
|
||||
* @returns {source} source metadata or null if no matching tracker found
|
||||
*/
|
||||
export const getSourceData = (trackerData) => {
|
||||
if (!trackerData || !trackerData.source) {
|
||||
|
|
Loading…
Reference in New Issue