|
|
|
@ -1,4 +1,4 @@ |
|
|
|
import { LocalizationService } from '@abp/ng.core'; |
|
|
|
import { escapeHtmlChars, LocalizationService } from '@abp/ng.core'; |
|
|
|
import { IdentityUserDto } from '@abp/ng.identity/proxy'; |
|
|
|
import { EntityProp, ePropType } from '@abp/ng.theme.shared/extensions'; |
|
|
|
import { of } from 'rxjs'; |
|
|
|
@ -21,7 +21,9 @@ export const DEFAULT_USERS_ENTITY_PROPS = EntityProp.createMany<IdentityUserDto> |
|
|
|
return of( |
|
|
|
` |
|
|
|
${!data.record.isActive ? inactiveIcon : ''} |
|
|
|
<span class="${!data.record.isActive ? 'text-muted' : ''}">${data.record.userName}</span>`,
|
|
|
|
<span class="${!data.record.isActive ? 'text-muted' : ''}">${escapeHtmlChars( |
|
|
|
data.record.userName, |
|
|
|
)}</span>`,
|
|
|
|
); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|