fix: financial statements.

This commit is contained in:
Ahmed Bouhuolia
2020-05-13 02:39:36 +02:00
parent 5ffb54992e
commit 00de156c9f
23 changed files with 276 additions and 104 deletions

View File

@@ -10,6 +10,7 @@ import {
MenuDivider,
Position,
Intent,
Tag
} from '@blueprintjs/core';
import { snakeCase } from 'lodash';
@@ -138,9 +139,11 @@ function UsersListPreferences({
{
id: 'active',
Header: 'Status',
accessor: (user) =>
user.active ? <span>Active</span> : <span>Inactivate</span>,
accessor: (user) => user.active ?
<Tag intent={Intent.SUCCESS} minimal={true}>Active</Tag> :
<Tag intent={Intent.WARNING} minimal={true}>Inactivate</Tag>,
width: 50,
className: 'status',
},
{
id: 'actions',