diff --git a/client/src/components/Filters/index.js b/client/src/components/Filters/index.js index ebc69973..6f9d41d4 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.toLocaleString(), }, { Header: 'Last time updated', accessor: 'lastUpdated', diff --git a/client/src/helpers/trackers/trackers.js b/client/src/helpers/trackers/trackers.js index 485cd31b..b2488b57 100644 --- a/client/src/helpers/trackers/trackers.js +++ b/client/src/helpers/trackers/trackers.js @@ -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) {