mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-1381] improving the style for form reflecting UX spec (#2256)
* [ADF-1381] improving the style for form reflecting UX spec * [ADF-1381] fix error message icon * [ADF-1381] added more spec details to form widgets * [ADF-1381] fixed wrong check * [ADF-1381] removed wrong added deep into scss * [ADF-1381] applied changes due the peer review * [ADF-1381] missed whitespace
This commit is contained in:
@@ -79,7 +79,9 @@ export class CommentListComponent {
|
||||
}
|
||||
|
||||
onErrorImageLoad(user: User) {
|
||||
user.userImage = null;
|
||||
if (user.userImage) {
|
||||
user.userImage = null;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -106,6 +106,8 @@ export class PeopleSearchComponent implements OnInit {
|
||||
}
|
||||
|
||||
onErrorImageLoad(user: User) {
|
||||
user.userImage = null;
|
||||
if (user.userImage) {
|
||||
user.userImage = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -156,6 +156,8 @@ export class PeopleComponent implements OnInit, AfterViewInit {
|
||||
}
|
||||
|
||||
onErrorImageLoad(user: User) {
|
||||
user.userImage = null;
|
||||
if (user.userImage) {
|
||||
user.userImage = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user