]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/login/login.component.ts
Clearer debug IP message
[github/Chocobozzz/PeerTube.git] / client / src / app / login / login.component.ts
index fc2442c0e9bb4cddae72e66d487a0d66bec530b5..12c63110776a7be88b3f44fa002a793bef5d3352 100644 (file)
@@ -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 = ''