Fix in products view routes (#1643)

Co-authored-by: Jose Alberto Hernandez <alberto@MacBook-Pro.local>
This commit is contained in:
José Alberto Hernández
2023-01-13 12:09:06 -06:00
committed by GitHub
co-authored by Jose Alberto Hernandez
parent f330e91aa4
commit a56347d400
236 changed files with 944 additions and 940 deletions
+6 -4
View File
@@ -41,6 +41,7 @@ import { SavingsDocumentsTabComponent } from './savings-account-view/savings-doc
import { NotesTabComponent } from './savings-account-view/notes-tab/notes-tab.component';
import { SavingNotesResolver } from './common-resolvers/saving-notes.resolver';
import { SavingDocumentsResolver } from './common-resolvers/saving-documents.resolver';
/** Savings Routes */
const routes: Routes = [
{
@@ -58,9 +59,6 @@ const routes: Routes = [
{
path: ':savingAccountId',
data: { title: extract('Saving Account View'), routeParamBreadcrumb: 'savingAccountId' },
resolve: {
savingsAccountData: SavingsAccountViewResolver
},
children: [
{
path: '',
@@ -70,6 +68,11 @@ const routes: Routes = [
savingsDatatables: SavingsDatatablesResolver
},
children: [
{
path: '',
redirectTo: 'transactions',
pathMatch: 'full'
},
{
path: 'transactions',
data: { title: extract('Savings Account Transactions'), breadcrumb: 'Transactions', routeParamBreadcrumb: false },
@@ -77,7 +80,6 @@ const routes: Routes = [
{
path: '',
component: TransactionsTabComponent
},
{
path: 'export',