mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-23 16:19:49 +00:00
feat(AccountDetail): more transactions icon in RTL mode.
This commit is contained in:
@@ -12,6 +12,7 @@ import { useAccountReadEntriesColumns } from './utils';
|
|||||||
|
|
||||||
import withDrawerActions from 'containers/Drawer/withDrawerActions';
|
import withDrawerActions from 'containers/Drawer/withDrawerActions';
|
||||||
import { TableStyle } from '../../../common';
|
import { TableStyle } from '../../../common';
|
||||||
|
import { useAppIntlContext } from 'components/AppIntlProvider';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* account drawer table.
|
* account drawer table.
|
||||||
@@ -26,6 +27,8 @@ function AccountDrawerTable({ closeDrawer }) {
|
|||||||
const handleLinkClick = () => {
|
const handleLinkClick = () => {
|
||||||
closeDrawer(drawerName);
|
closeDrawer(drawerName);
|
||||||
};
|
};
|
||||||
|
// Application intl context.
|
||||||
|
const { isRTL } = useAppIntlContext();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Card>
|
<Card>
|
||||||
@@ -42,7 +45,7 @@ function AccountDrawerTable({ closeDrawer }) {
|
|||||||
to={`/financial-reports/general-ledger`}
|
to={`/financial-reports/general-ledger`}
|
||||||
onClick={handleLinkClick}
|
onClick={handleLinkClick}
|
||||||
>
|
>
|
||||||
← {intl.get('view_more_transactions')}
|
{isRTL ? '→' : '←'} {intl.get('view_more_transactions')}
|
||||||
</Link>
|
</Link>
|
||||||
</TableFooter>
|
</TableFooter>
|
||||||
</If>
|
</If>
|
||||||
|
|||||||
Reference in New Issue
Block a user