feat: cashflow pages default universal search type.

This commit is contained in:
a.bouhuolia
2021-10-25 13:11:29 +02:00
parent 3c49e8f57a
commit 8f5d44c648

View File

@@ -774,6 +774,7 @@ export const getDashboardRoutes = () => [
backLink: true, backLink: true,
pageTitle: intl.get('cash_flow.label_account_transcations'), pageTitle: intl.get('cash_flow.label_account_transcations'),
subscriptionActive: [SUBSCRIPTION_TYPE.MAIN], subscriptionActive: [SUBSCRIPTION_TYPE.MAIN],
defaultSearchResource: RESOURCES_TYPES.ACCOUNT,
}, },
{ {
path: `/cashflow-accounts`, path: `/cashflow-accounts`,
@@ -782,8 +783,8 @@ export const getDashboardRoutes = () => [
), ),
pageTitle: intl.get('siebar.cashflow.label_cash_and_bank_accounts'), pageTitle: intl.get('siebar.cashflow.label_cash_and_bank_accounts'),
subscriptionActive: [SUBSCRIPTION_TYPE.MAIN], subscriptionActive: [SUBSCRIPTION_TYPE.MAIN],
defaultSearchResource: RESOURCES_TYPES.ACCOUNT,
}, },
// Homepage // Homepage
{ {
path: `/`, path: `/`,