LP#1811710: (follow-up) update loadChildren for hopeless holds
authorGalen Charlton <gmc@equinoxinitiative.org>
Tue, 15 Sep 2020 20:53:02 +0000 (16:53 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 15 Sep 2020 20:53:02 +0000 (16:53 -0400)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/staff/routing.module.ts

index edff9a8..58c3443 100644 (file)
@@ -53,7 +53,8 @@ const routes: Routes = [{
       import('./sandbox/sandbox.module').then(m => m.SandboxModule)
   }, {
     path: 'hopeless',
-    loadChildren : '@eg/staff/hopeless/hopeless.module#HopelessModule'
+    loadChildren: () =>
+      import('@eg/staff/hopeless/hopeless.module').then(m => m.HopelessModule)
   }, {
     path: 'admin',
     loadChildren: () =>