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/login/login.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/src/app/login') diff --git a/client/src/app/login/login.component.ts b/client/src/app/login/login.component.ts index fc2442c0e..12c631107 100644 --- a/client/src/app/login/login.component.ts +++ b/client/src/app/login/login.component.ts @@ -16,8 +16,8 @@ import { Router } from '@angular/router' }) export class LoginComponent extends FormReactive implements OnInit { - @ViewChild('emailInput') input: ElementRef - @ViewChild('forgotPasswordModal') forgotPasswordModal: ElementRef + @ViewChild('emailInput', { static: true }) input: ElementRef + @ViewChild('forgotPasswordModal', { static: true }) forgotPasswordModal: ElementRef error: string = null forgotPasswordEmail = '' -- cgit v1.2.3