change(ui) - audit trail count with comma
This commit is contained in:
parent
c78fb78927
commit
ce09f5d54f
1 changed files with 2 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue