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>
Mon, 29 Aug 2022 19:24:29 +0000 (15:24 -0400)
Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
Open-ILS/src/eg2/src/app/staff/admin/local/routing.module.ts

index 86752ff..a9f735f 100644 (file)
@@ -71,7 +71,8 @@ const routes: Routes = [{
       .then(m => m.FieldDocumentationModule)
 }, {
     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