feat: Alle Aktionen im RefreshService auf der Startseite entfernt

This commit is contained in:
Developer 02
2024-07-25 09:26:06 +02:00
parent 1b2e3b8abd
commit 6b8239485e

View File

@@ -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 {