From: Kai Moritz Date: Sat, 6 Sep 2025 23:59:06 +0000 (+0200) Subject: TODO:selbst X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=15773a7a0f7d6db142f4656b6163f638a540bccf;p=demos%2Fangular%2Fstored-login TODO:selbst --- diff --git a/src/app/login/login.component.ts b/src/app/login/login.component.ts index 69b6e15..e12313f 100644 --- a/src/app/login/login.component.ts +++ b/src/app/login/login.component.ts @@ -1,3 +1,4 @@ +import { NgIf } from '@angular/common'; import { Component } from '@angular/core'; import { FormsModule } from "@angular/forms"; import { Store } from '@ngrx/store'; @@ -6,7 +7,10 @@ import { selectToken, selectError, selectIsLoading } from '../store/login.select @Component({ selector: 'app-login', - imports: [FormsModule], + imports: [ + NgIf, + FormsModule, + ], templateUrl: './login.component.html', styleUrl: './login.component.less' })