Florian Eisenmenger 1 рік тому
джерело
коміт
6886891c25
1 змінених файлів з 1 додано та 1 видалено
  1. +1
    -1
      matsen-tool/src/app/_views/user/user-detail/user-detail.component.ts

+ 1
- 1
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;
}
}
}

Завантаження…
Відмінити
Зберегти