summaryrefslogtreecommitdiffstats
path: root/src/app/guards/edit-user.can-activate.guard.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/guards/edit-user.can-activate.guard.ts')
-rw-r--r--src/app/guards/edit-user.can-activate.guard.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/guards/edit-user.can-activate.guard.ts b/src/app/guards/edit-user.can-activate.guard.ts
index 81fc36e..29c927a 100644
--- a/src/app/guards/edit-user.can-activate.guard.ts
+++ b/src/app/guards/edit-user.can-activate.guard.ts
@@ -18,7 +18,7 @@
import { Injectable } from '@angular/core';
-import { ActivatedRouteSnapshot, CanActivate, Router } from '@angular/router';
+import { ActivatedRouteSnapshot, Router } from '@angular/router';
import { Observable, of } from 'rxjs';
import { UsersService } from '../../../openapi/output';
import { catchError, map } from 'rxjs/operators';
@@ -26,7 +26,7 @@ import { TranslateService } from '@ngx-translate/core';
@Injectable({
providedIn: 'root',
})
-export class EditUserCanActivateGuard implements CanActivate {
+export class EditUserCanActivateGuard {
constructor(private usersService: UsersService, private router: Router, private translateService: TranslateService) {}
canActivate(route: ActivatedRouteSnapshot): Observable<boolean> {
const userId = route.paramMap.get('userId');