LP1859701 fix routing from admin page
authorJason Etheridge <jason@EquinoxOLI.org>
Tue, 5 Apr 2022 18:49:13 +0000 (14:49 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 30 Jun 2022 20:10:53 +0000 (16:10 -0400)
Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
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