From: Galen Charlton Date: Wed, 10 Mar 2021 22:01:27 +0000 (-0500) Subject: LP#1852321: (follow-up) modernize loadChildren invocation X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ef789689657f10816d8f806533b7300551565ea3;p=Evergreen.git LP#1852321: (follow-up) modernize loadChildren invocation 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 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