LP1849212: update loadChildren syntax
authorJane Sandberg <sandbej@linnbenton.edu>
Tue, 1 Sep 2020 16:07:24 +0000 (09:07 -0700)
committerGalen Charlton <gmc@equinoxinitiative.org>
Mon, 14 Sep 2020 22:17:33 +0000 (18:17 -0400)
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/staff/admin/local/routing.module.ts

index 69ba254..8ce6dce 100644 (file)
@@ -22,7 +22,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: 'asset/course_module_term_course_map',
     component: CourseTermMapComponent