LP1860460 3.4 Angular version mismatch repairs
authorBill Erickson <berickxx@gmail.com>
Fri, 28 Feb 2020 16:10:00 +0000 (11:10 -0500)
committerBill Erickson <berickxx@gmail.com>
Fri, 28 Feb 2020 16:11:30 +0000 (11:11 -0500)
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 <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/staff/nav.component.ts
Open-ILS/src/eg2/src/app/staff/share/holdings/delete-volcopy-dialog.component.ts

index 5627f76..4f0283a 100644 (file)
@@ -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(
index 17e033d..71cf3f3 100644 (file)
@@ -47,7 +47,7 @@ export class DeleteHoldingDialogComponent
     @ViewChild('errorMsg')
         private errorMsg: StringComponent;
 
-    @ViewChild('confirmOverride', {static: false})
+    @ViewChild('confirmOverride')
         private confirmOverride: ConfirmDialogComponent;
 
     constructor(