Add vote statistics feature and improve vote page functionality

This commit is contained in:
stijn committed 2025-10-24 19:39:08 +02:00
1 parent 41dab473b0
commit 00bf7caec2
16 files changed
+447 -80

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ export class AuthGuard implements CanActivate {
route: ActivatedRouteSnapshot,
state: RouterStateSnapshot
): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree {
if (!this.authService.checkAuthStatus()) {
if (!this.authService.isAuthenticated$()) {
this.router.createUrlTree(['/']);
const dialogRef = this.dialog.open(LoginDialogComponent, {
width: '400px',