From bfb50e64f7de29267e77392ece310b7eacb37e8b Mon Sep 17 00:00:00 2001 From: Jason Boyer Date: Wed, 14 Oct 2020 12:11:27 -0400 Subject: [PATCH] LP1882828: (follow-up) Add static parameter to ViewChild decorator While not strictly required in rel_3_6 and above, rel_3_5 uses a version of Angular that requires specifying a value for the static parameter when using the ViewChild decorator on an object. Signed-off-by: Jason Boyer --- Open-ILS/src/eg2/src/app/staff/booking/pull-list.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/eg2/src/app/staff/booking/pull-list.component.ts b/Open-ILS/src/eg2/src/app/staff/booking/pull-list.component.ts index ae4685da99..9634042b6b 100644 --- a/Open-ILS/src/eg2/src/app/staff/booking/pull-list.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/booking/pull-list.component.ts @@ -31,7 +31,7 @@ export class PullListComponent implements OnInit { @ViewChild('confirmCancelReservationDialog', { static: true }) private cancelReservationDialog: CancelReservationDialogComponent; - @ViewChild('pullList') private pullList: GridComponent; + @ViewChild('pullList', { static: true }) private pullList: GridComponent; public dataSource: GridDataSource = new GridDataSource(); -- 2.43.2