refactor: clean code
This commit is contained in:
@ -20,7 +20,7 @@ export class HasRoleDirective {
|
||||
|
||||
this.authService
|
||||
.getRole()
|
||||
.pipe(catchError(error => {
|
||||
.pipe(catchError(_ => {
|
||||
this.viewContainer.clear();
|
||||
return of(null);
|
||||
}))
|
||||
|
Reference in New Issue
Block a user