@if (userQuery.data(); as authUser) { @if (type$ | async; as type) {

{{ (type === Type.HUMAN ? 'DESCRIPTIONS.USERS.HUMANS.DESCRIPTION' : 'DESCRIPTIONS.USERS.MACHINES.DESCRIPTION') | translate }}

@if (selection.hasValue() && multipleDeactivatePossible) { } @if (selection.hasValue() && multipleActivatePossible) { } @if (!selection.hasValue()) { } @if (!selection.hasValue()) { }
@if (user.type.case === 'human' && user.type.value.profile) { } @else { }
{{ 'USER.PROFILE.DISPLAYNAME' | translate }} @if (user.type.case === 'human') { {{ user.type.value?.profile?.displayName }} } @if (user.type.case === 'machine') { {{ user.type.value.name }} } {{ 'USER.PROFILE.PREFERREDLOGINNAME' | translate }} @if (user.type.case === 'human') { {{ user.preferredLoginName }} } {{ 'USER.PROFILE.USERNAME' | translate }} {{ user.username }} {{ 'USER.EMAIL' | translate }} @if (user.type?.value?.email?.email) { {{ user.type.value.email.email }} } {{ 'USER.DATA.STATE' | translate }} {{ 'USER.STATEV2.' + user.state | translate }} {{ 'USER.TABLE.CREATIONDATE' | translate }} {{ user.details.creationDate | timestampToDate | localizedDate: 'regular' }} {{ 'USER.TABLE.CHANGEDATE' | translate }} {{ user.details.changeDate | timestampToDate | localizedDate: 'regular' }}
@if (!loading() && !dataSource.data.length) {
{{ 'USER.TABLE.EMPTY' | translate }}
}
} }