From: Bill Erickson Date: Mon, 17 Aug 2020 21:29:50 +0000 (-0400) Subject: LP1857910 Field doc UI Angular 10 updates X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6559f7d9d2896a225bc9224cdb0f362eb0bfffe7;p=evergreen%2Fjoelewis.git LP1857910 Field doc UI Angular 10 updates Modify the lazy loader to use the new Ang10 style loading syntax. Avoid using template variables as output variables for other components, since template variables (those declared with let-foo="bar" in ) are read-only, possibly as of Ang 10, so the page was not loading at first. Signed-off-by: Bill Erickson Signed-off-by: Jason Etheridge Signed-off-by: Jane Sandberg --- diff --git a/Open-ILS/src/eg2/src/app/staff/admin/local/field-documentation/field-documentation.component.html b/Open-ILS/src/eg2/src/app/staff/admin/local/field-documentation/field-documentation.component.html index 481a681c8d..c6ee7bb973 100644 --- a/Open-ILS/src/eg2/src/app/staff/admin/local/field-documentation/field-documentation.component.html +++ b/Open-ILS/src/eg2/src/app/staff/admin/local/field-documentation/field-documentation.component.html @@ -33,7 +33,7 @@ - @@ -41,7 +41,7 @@ @@ -49,4 +49,4 @@ - \ No newline at end of file + 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 f3ff4e8f1d..e619f6eb79 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 @@ -67,7 +67,8 @@ const routes: Routes = [{ import('./triggers/triggers.module').then(m => m.TriggersModule) }, { path: 'config/idl_field_doc', - loadChildren: '@eg/staff/admin/local/field-documentation/field-documentation.module#FieldDocumentationModule' + loadChildren: () => import('./field-documentation/field-documentation.module') + .then(m => m.FieldDocumentationModule) }, { path: ':schema/:table', component: BasicAdminPageComponent