From 6886891c25ae4775cc6701632c85edb81f619806 Mon Sep 17 00:00:00 2001 From: Florian Eisenmenger Date: Fri, 21 Jun 2024 13:16:19 +0200 Subject: [PATCH] fix --- .../src/app/_views/user/user-detail/user-detail.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } }