mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-1945] Profile image has Initials displayed behind it. (#2648)
* Refactored userInfo component. * Added test cases.
This commit is contained in:
committed by
Eugenio Romano
parent
8a52d6fed5
commit
15cbd3a316
@@ -111,4 +111,12 @@ export class UserInfoComponent implements OnInit {
|
||||
showOnRight() {
|
||||
return this.namePosition === 'right';
|
||||
}
|
||||
|
||||
hasBpmUserPictureId(): boolean {
|
||||
return !!this.bpmUser.pictureId;
|
||||
}
|
||||
|
||||
hasEcmUserAvatarId(): boolean {
|
||||
return !!this.ecmUser.avatarId;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user