mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 06:10:31 +00:00
feat: wip bank transaction matching
This commit is contained in:
@@ -3,7 +3,6 @@ import { Button, Classes, NavbarGroup } from '@blueprintjs/core';
|
||||
import * as R from 'ramda';
|
||||
import { Can, DashboardActionsBar, Icon } from '@/components';
|
||||
import { AbilitySubject, BankRuleAction } from '@/constants/abilityOption';
|
||||
import withAlertActions from '@/containers/Alert/withAlertActions';
|
||||
import withDialogActions from '@/containers/Dialog/withDialogActions';
|
||||
import { DialogsName } from '@/constants/dialogs';
|
||||
|
||||
@@ -31,7 +30,6 @@ function RulesListActionsBarRoot({
|
||||
);
|
||||
}
|
||||
|
||||
export const RulesListActionsBar = R.compose(
|
||||
withDialogActions,
|
||||
withAlertActions,
|
||||
)(RulesListActionsBarRoot);
|
||||
export const RulesListActionsBar = R.compose(withDialogActions)(
|
||||
RulesListActionsBarRoot,
|
||||
);
|
||||
|
||||
@@ -8,9 +8,7 @@ import {
|
||||
} from '@/components';
|
||||
|
||||
import withAlertsActions from '@/containers/Alert/withAlertActions';
|
||||
import withDrawerActions from '@/containers/Drawer/withDrawerActions';
|
||||
import withDialogActions from '@/containers/Dialog/withDialogActions';
|
||||
import withDashboardActions from '@/containers/Dashboard/withDashboardActions';
|
||||
|
||||
import { useBankRulesTableColumns } from './hooks';
|
||||
import { BankRulesTableActionsMenu } from './_components';
|
||||
@@ -25,9 +23,6 @@ function RulesTable({
|
||||
// #withAlertsActions
|
||||
openAlert,
|
||||
|
||||
// #withDrawerActions
|
||||
openDrawer,
|
||||
|
||||
// #withDialogAction
|
||||
openDialog,
|
||||
}) {
|
||||
@@ -81,8 +76,6 @@ function RulesTable({
|
||||
}
|
||||
|
||||
export const BankRulesTable = R.compose(
|
||||
withDashboardActions,
|
||||
withAlertsActions,
|
||||
withDrawerActions,
|
||||
withDialogActions,
|
||||
)(RulesTable);
|
||||
|
||||
Reference in New Issue
Block a user