LP1859701 fix routing from admin page
authorJason Etheridge <jason@EquinoxOLI.org>
Tue, 5 Apr 2022 18:49:13 +0000 (14:49 -0400)
committerJason Etheridge <jason@EquinoxOLI.org>
Wed, 6 Apr 2022 15:06:06 +0000 (11:06 -0400)
Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
Open-ILS/src/eg2/src/app/staff/admin/local/routing.module.ts

index c8b4352..e64f60c 100644 (file)
@@ -67,7 +67,8 @@ const routes: Routes = [{
       import('./triggers/triggers.module').then(m => m.TriggersModule)
 }, {
     path: 'money/cash_reports',
-    loadChildren: '@eg/staff/admin/local/cash-reports/cash-reports.module#CashReportsModule'
+    loadChildren: () =>
+      import('./cash-reports/cash-reports.module').then(m => m.CashReportsModule)
 }, {
     path: ':schema/:table',
     component: BasicAdminPageComponent