fixed lint/lgtm issues

This commit is contained in:
lotte
2021-12-15 15:13:27 +01:00
parent 2f022f505d
commit 6594a3877f
2 changed files with 3 additions and 3 deletions

View File

@@ -87,7 +87,7 @@ export class ProfilePageComponent implements OnInit {
tap((user: EPerson) => this.currentUser = user)
);
this.groupsRD$ = this.user$.pipe(switchMap((user: EPerson) => user.groups));
this.canChangePassword$ = this.user$.pipe(switchMap((user:EPerson) => this.authorizationService.isAuthorized(FeatureID.CanChangePassword, user._links.self.href)));
this.canChangePassword$ = this.user$.pipe(switchMap((user: EPerson) => this.authorizationService.isAuthorized(FeatureID.CanChangePassword, user._links.self.href)));
}
/**