Skip to content
This repository was archived by the owner on Nov 28, 2025. It is now read-only.

Commit 17d7b73

Browse files
committed
♻️ wip
1 parent bda4c6e commit 17d7b73

File tree

6 files changed

+15
-5
lines changed

6 files changed

+15
-5
lines changed

src/app/core/guards/account-manager.guard.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import { Injectable } from '@angular/core';
22
import { CanActivate } from '@angular/router';
33

4-
@Injectable({ providedIn: 'root' })
4+
@Injectable({
5+
providedIn: 'root'
6+
})
57
export class AccountManagerGuard implements CanActivate {
68

79
emails: string[] = [

src/app/core/guards/admin.guard.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import { Injectable } from '@angular/core';
22
import { CanActivate } from '@angular/router';
33

4-
@Injectable({ providedIn: 'root' })
4+
@Injectable({
5+
providedIn: 'root'
6+
})
57
export class AdminGuard implements CanActivate {
68

79
emails: string[] = [

src/app/core/guards/auth.guard.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import { Injectable } from '@angular/core';
22
import { ActivatedRouteSnapshot, CanActivateChild, RouterStateSnapshot } from '@angular/router';
33

4-
@Injectable({ providedIn: 'root' })
4+
@Injectable({
5+
providedIn: 'root'
6+
})
57
export class AuthGuard implements CanActivateChild {
68

79
canActivateChild(

src/app/core/guards/guest.guard.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import { Injectable } from '@angular/core';
22
import { ActivatedRouteSnapshot, CanActivateChild, RouterStateSnapshot } from '@angular/router';
33

4-
@Injectable({ providedIn: 'root' })
4+
@Injectable({
5+
providedIn: 'root'
6+
})
57
export class GuestGuard implements CanActivateChild {
68

79
canActivateChild(
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import { Injectable } from '@angular/core';
22

3-
@Injectable({ providedIn: 'root' })
3+
@Injectable({
4+
providedIn: 'root'
5+
})
46
export class AuthService {
57
constructor() { }
68
}

0 commit comments

Comments
 (0)