From 01514c370320a6ad3213816d63577aed24e49f3e Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Fri, 28 Feb 2020 11:10:00 -0500 Subject: [PATCH] LP1860460 3.4 Angular version mismatch repairs Angular v7, used in 3.4, does not support the {static:boolean} option for @ViewChild. Remove some instances that were back-ported. Signed-off-by: Bill Erickson --- Open-ILS/src/eg2/src/app/staff/nav.component.ts | 2 +- .../eg2/src/app/staff/share/holdings/delete-volcopy-dialog.component.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/eg2/src/app/staff/nav.component.ts b/Open-ILS/src/eg2/src/app/staff/nav.component.ts index 5627f762ba..4f0283a51c 100644 --- a/Open-ILS/src/eg2/src/app/staff/nav.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/nav.component.ts @@ -26,7 +26,7 @@ export class StaffNavComponent implements OnInit, OnDestroy { // When active, show a link to the experimental Angular staff catalog showAngularCatalog: boolean; - @ViewChild('navOpChange', {static: false}) opChange: OpChangeComponent; + @ViewChild('navOpChange') opChange: OpChangeComponent; permFailedSub: Subscription; constructor( diff --git a/Open-ILS/src/eg2/src/app/staff/share/holdings/delete-volcopy-dialog.component.ts b/Open-ILS/src/eg2/src/app/staff/share/holdings/delete-volcopy-dialog.component.ts index 17e033ddde..71cf3f3da7 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/holdings/delete-volcopy-dialog.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/share/holdings/delete-volcopy-dialog.component.ts @@ -47,7 +47,7 @@ export class DeleteHoldingDialogComponent @ViewChild('errorMsg') private errorMsg: StringComponent; - @ViewChild('confirmOverride', {static: false}) + @ViewChild('confirmOverride') private confirmOverride: ConfirmDialogComponent; constructor( -- 2.11.0