diff --git a/matsen-tool/src/app/_views/user/user-detail/user-detail.component.ts b/matsen-tool/src/app/_views/user/user-detail/user-detail.component.ts index c274765..50df4fd 100644 --- a/matsen-tool/src/app/_views/user/user-detail/user-detail.component.ts +++ b/matsen-tool/src/app/_views/user/user-detail/user-detail.component.ts @@ -74,7 +74,7 @@ export class UserDetailComponent implements OnInit, AfterViewInit { setIsCurrentUser() { if (this.accountService.userValue?.userResource) { let user = this.accountService.userValue?.userResource; - this.isCurrentUser = this.user.id == user?.id; + this.isCurrentUser = this.appHelperService.extractId(this.user.id) == user?.id; } } }