From aa7a5beae1b2be92d938cb3d1bd1c51086556fe0 Mon Sep 17 00:00:00 2001 From: Jane Sandberg Date: Tue, 1 Sep 2020 09:07:24 -0700 Subject: [PATCH] LP1849212: update loadChildren syntax Signed-off-by: Jane Sandberg Signed-off-by: Michele Morgan Signed-off-by: Galen Charlton --- Open-ILS/src/eg2/src/app/staff/admin/local/routing.module.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.11.0