From f36da21e40104a50acb00132920b835240cebb38 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 24 Jul 2019 16:05:59 +0200 Subject: Update angular --- client/src/app/shared/confirm/confirm.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/app/shared/confirm/confirm.component.ts') diff --git a/client/src/app/shared/confirm/confirm.component.ts b/client/src/app/shared/confirm/confirm.component.ts index 63c163da6..53aed14d7 100644 --- a/client/src/app/shared/confirm/confirm.component.ts +++ b/client/src/app/shared/confirm/confirm.component.ts @@ -10,7 +10,7 @@ import { NgbModalRef } from '@ng-bootstrap/ng-bootstrap/modal/modal-ref' styleUrls: [ './confirm.component.scss' ] }) export class ConfirmComponent implements OnInit { - @ViewChild('confirmModal') confirmModal: ElementRef + @ViewChild('confirmModal', { static: true }) confirmModal: ElementRef title = '' message = '' -- cgit v1.2.3