diff --git a/client/src/components/Settings/Clients/ClientsTable/ClientsTable.tsx b/client/src/components/Settings/Clients/ClientsTable/ClientsTable.tsx index 9dfe319d..55d3e72f 100644 --- a/client/src/components/Settings/Clients/ClientsTable/ClientsTable.tsx +++ b/client/src/components/Settings/Clients/ClientsTable/ClientsTable.tsx @@ -12,7 +12,7 @@ import ReactTable from 'react-table'; import { getAllBlockedServices, getBlockedServices } from '../../../../actions/services'; import { initSettings } from '../../../../actions'; -import { splitByNewLine, countClientsStatistics, sortIp, getService } from '../../../../helpers/helpers'; +import { splitByNewLine, countClientsStatistics, sortIp, getService, formatNumber } from '../../../../helpers/helpers'; import { MODAL_TYPE, LOCAL_TIMEZONE_VALUE, TABLES_MIN_ROWS } from '../../../../helpers/constants'; import Card from '../../../ui/Card'; @@ -300,12 +300,12 @@ const ClientsTable = ({ sortMethod: (a: any, b: any) => b - a, minWidth: 120, Cell: (row: any) => { - const content = CellWrap(row); + let content = CellWrap(row); if (!row.value) { return content; } - + content = typeof content === "number" ? formatNumber(content) : content; return {content}; }, },