feat: optimize expense and manual journal details status.

This commit is contained in:
a.bouhuolia
2021-12-21 18:10:58 +02:00
parent 5429643db5
commit a456b9d942
5 changed files with 79 additions and 20 deletions

View File

@@ -101,13 +101,13 @@ export const StatusAccessor = (row) => {
return (
<Choose>
<Choose.When condition={!!row.is_published}>
<Tag minimal={true}>
<Tag minimal={true} round={true}>
<T id={'published'} />
</Tag>
</Choose.When>
<Choose.Otherwise>
<Tag minimal={true} intent={Intent.WARNING}>
<Tag minimal={true} intent={Intent.WARNING} round={true}>
<T id={'draft'} />
</Tag>
</Choose.Otherwise>