mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
BIG-170: fix cashflow money out owner drawing.
This commit is contained in:
@@ -57,21 +57,6 @@ function CashflowBankAccount({
|
||||
|
||||
account,
|
||||
}) {
|
||||
// const [
|
||||
// bindMenu,
|
||||
// bindMenuItem,
|
||||
// useContextTrigger,
|
||||
// { coords, setVisible, isVisible },
|
||||
// ] = useContextMenu();
|
||||
|
||||
// const [bindTrigger] = useContextTrigger({
|
||||
// collect: () => 'Title',
|
||||
// });
|
||||
|
||||
// const handleClose = React.useCallback(() => {
|
||||
// setVisible(false);
|
||||
// }, [setVisible]);
|
||||
|
||||
// Handle view detail account.
|
||||
const handleViewClick = () => {
|
||||
openDrawer('account-drawer', { accountId: account.id });
|
||||
@@ -126,7 +111,6 @@ function CashflowBankAccount({
|
||||
to={`/cashflow-accounts/${account.id}/transactions`}
|
||||
>
|
||||
<BankAccount
|
||||
// {...bindTrigger}
|
||||
title={account.name}
|
||||
code={account.code}
|
||||
balance={!isNull(account.amount) ? account.formatted_amount : '-'}
|
||||
|
||||
Reference in New Issue
Block a user