change(ui) - audit trail count with comma

This commit is contained in:
Shekar Siri 2022-06-28 18:41:54 +02:00
parent c78fb78927
commit ce09f5d54f

View file

@ -6,11 +6,12 @@ import { useStore } from 'App/mstore';
import { useObserver } from 'mobx-react-lite';
import Select from 'Shared/Select';
import SelectDateRange from 'Shared/SelectDateRange';
import { numberWithCommas } from 'App/utils';
function AuditView(props) {
const { auditStore } = useStore();
const order = useObserver(() => auditStore.order);
const total = useObserver(() => auditStore.total);
const total = useObserver(() => numberWithCommas(auditStore.total));
const exportToCsv = () => {
auditStore.exportToCsv();