From: Jane Sandberg Date: Tue, 1 Sep 2020 16:07:24 +0000 (-0700) Subject: LP1849212: update loadChildren syntax X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=aa7a5beae1b2be92d938cb3d1bd1c51086556fe0;p=evergreen%2Fpines.git LP1849212: update loadChildren syntax Signed-off-by: Jane Sandberg Signed-off-by: Michele Morgan Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/eg2/src/app/staff/admin/local/routing.module.ts b/Open-ILS/src/eg2/src/app/staff/admin/local/routing.module.ts index 69ba254071..8ce6dce3cc 100644 --- a/Open-ILS/src/eg2/src/app/staff/admin/local/routing.module.ts +++ b/Open-ILS/src/eg2/src/app/staff/admin/local/routing.module.ts @@ -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