From ef789689657f10816d8f806533b7300551565ea3 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 10 Mar 2021 17:01:27 -0500 Subject: [PATCH] LP#1852321: (follow-up) modernize loadChildren invocation 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 0819945e66..c7ec59f9f6 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 @@ -26,7 +26,8 @@ const routes: Routes = [{ fieldOrder: 'owning_lib,name,opac_visible,circulate,holdable,hold_verify,checkin_alert,deleted,label_prefix,label_suffix,url,id'}] }, { path: 'asset/shelving_location_groups', - loadChildren: '@eg/staff/admin/local/shelving_location_groups/shelving_location_groups.module#ShelvingLocationGroupsModule' + loadChildren: () => + import('./shelving_location_groups/shelving_location_groups.module').then(m => m.ShelvingLocationGroupsModule) }, { path: 'container/carousel', component: AdminCarouselComponent -- 2.11.0