mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 13:20:31 +00:00
fix: rename dashboard routes.
This commit is contained in:
@@ -16,7 +16,7 @@ import { compose } from 'utils';
|
||||
|
||||
import 'style/pages/Bills/PageForm.scss';
|
||||
|
||||
function Bills({
|
||||
function BillFormPage({
|
||||
// #withwithAccountsActions
|
||||
requestFetchAccounts,
|
||||
|
||||
@@ -112,4 +112,4 @@ export default compose(
|
||||
withAccountsActions,
|
||||
withSettingsActions,
|
||||
withDashboardActions
|
||||
)(Bills);
|
||||
)(BillFormPage);
|
||||
@@ -24,7 +24,7 @@ import { compose } from 'utils';
|
||||
/**
|
||||
* Bills list.
|
||||
*/
|
||||
function BillList({
|
||||
function BillsList({
|
||||
// #withDashboardActions
|
||||
changePageTitle,
|
||||
|
||||
@@ -48,7 +48,7 @@ function BillList({
|
||||
const [selectedRows, setSelectedRows] = useState([]);
|
||||
|
||||
useEffect(() => {
|
||||
changePageTitle(formatMessage({ id: 'bill_list' }));
|
||||
changePageTitle(formatMessage({ id: 'bills_list' }));
|
||||
}, [changePageTitle, formatMessage]);
|
||||
|
||||
const fetchResourceViews = useQuery(
|
||||
@@ -195,4 +195,4 @@ export default compose(
|
||||
withBills(({ billsTableQuery }) => ({
|
||||
billsTableQuery,
|
||||
})),
|
||||
)(BillList);
|
||||
)(BillsList);
|
||||
@@ -21,7 +21,7 @@ import 'style/pages/PaymentMade/PageForm.scss'
|
||||
/**
|
||||
* Payment made - Page form.
|
||||
*/
|
||||
function PaymentMade({
|
||||
function PaymentMadeFormPage({
|
||||
//#withAccountsActions
|
||||
requestFetchAccounts,
|
||||
|
||||
@@ -119,5 +119,5 @@ export default compose(
|
||||
withPaymentMadeActions,
|
||||
withSettingsActions,
|
||||
withDashboardActions,
|
||||
)(PaymentMade);
|
||||
)(PaymentMadeFormPage);
|
||||
|
||||
Reference in New Issue
Block a user