From 6b8239485e50358ec36149dbd6a019bef252d4da Mon Sep 17 00:00:00 2001 From: Developer 02 Date: Thu, 25 Jul 2024 09:26:06 +0200 Subject: [PATCH] feat: Alle Aktionen im RefreshService auf der Startseite entfernt --- .../ClientApp/user_manager_ui/src/app/home/home.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/home/home.component.ts b/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/home/home.component.ts index 5cc901f..3d38781 100644 --- a/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/home/home.component.ts +++ b/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/home/home.component.ts @@ -1,6 +1,7 @@ import { Component, Inject, OnInit } from '@angular/core'; import { Router } from '@angular/router'; import { AuthenticationService } from '../services/authentication.service'; +import { RefreshService } from '../services/refresh.service'; @Component({ standalone: true, @@ -13,7 +14,8 @@ export class HomeComponent implements OnInit { username: string = ''; password: string = ''; - constructor(private authService: AuthenticationService, private router: Router) { + constructor(private authService: AuthenticationService, private router: Router, rService: RefreshService) { + rService.removeAll() } ngOnInit(): void {