LP1859701 fix routing from admin page
authorJason Etheridge <jason@EquinoxOLI.org>
Tue, 5 Apr 2022 18:49:13 +0000 (14:49 -0400)
committerMichele Morgan <mmorgan@noblenet.org>
Fri, 28 Oct 2022 19:45:51 +0000 (15:45 -0400)
Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>

Open-ILS/src/eg2/src/app/staff/admin/local/routing.module.ts

index 179817a..267f008 100644 (file)
@@ -91,7 +91,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: 'negative-balances',
     loadChildren: () =>