Moved to Angular v20 and Tailwind v4 plus all related dependencies
Renamed Docker directory. Also serving static files from FastAPI.
This commit is contained in:
1 parent
05b395af00
commit
cb2b650375
253 files changed
+8626
-1995
No files matched your search
@@ -1,7 +1,7 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { Component, inject, OnInit } from '@angular/core';
|
||||
import { MatSnackBar } from '@angular/material/snack-bar';
|
||||
import { Router } from '@angular/router';
|
||||
|
||||
import { MatSnackBar } from '@angular/material/snack-bar';
|
||||
import { AuthService } from '../auth.service';
|
||||
|
||||
@Component({
|
||||
@@ -10,11 +10,9 @@ import { AuthService } from '../auth.service';
|
||||
standalone: true,
|
||||
})
|
||||
export class LogoutComponent implements OnInit {
|
||||
constructor(
|
||||
private auth: AuthService,
|
||||
private router: Router,
|
||||
private snackBar: MatSnackBar,
|
||||
) {}
|
||||
private auth = inject(AuthService);
|
||||
private router = inject(Router);
|
||||
private snackBar = inject(MatSnackBar);
|
||||
|
||||
ngOnInit() {
|
||||
this.auth.logout();
|
||||
|
||||
Reference in new issue
Block a user