LP1849212: update loadChildren syntax
authorJane Sandberg <sandbej@linnbenton.edu>
Tue, 1 Sep 2020 16:07:24 +0000 (09:07 -0700)
committerJane Sandberg <sandbej@linnbenton.edu>
Tue, 1 Sep 2020 16:07:24 +0000 (09:07 -0700)
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Open-ILS/src/eg2/src/app/staff/admin/local/routing.module.ts

index e0e5414..74ed665 100644 (file)
@@ -21,7 +21,8 @@ const routes: Routes = [{
     component: AdminCarouselComponent
 }, {
     path: 'asset/course_list',
-    loadChildren: '@eg/staff/admin/local/course-reserves/course-reserves.module#CourseReservesModule'
+    loadChildren: () =>
+      import('./course-reserves/course-reserves.module').then(m => m.CourseReservesModule)
 }, {
     path: 'config/standing_penalty',
     component: StandingPenaltyComponent