Commit 09f718b821487453da091c4b6b3ca55678e07a96

Authored by Carlos Purificação
2 parents 2ac1b3bd c77d715c

Merge branch 'profile-image-migration' into ngforward

src/app/components/noosfero/profile-image/profile-image.component.ts
@@ -8,11 +8,10 @@ import {Profile} from "./../../../models/interfaces"; @@ -8,11 +8,10 @@ import {Profile} from "./../../../models/interfaces";
8 export class ProfileImage { 8 export class ProfileImage {
9 9
10 @Input() profile: Profile; 10 @Input() profile: Profile;
11 - defaultIcon: any; 11 + defaultIcon: string;
12 12
13 ngOnInit() { 13 ngOnInit() {
14 this.defaultIcon = 'fa-users'; 14 this.defaultIcon = 'fa-users';
15 - console.debug("On ProfileImage ngOnInit. Profile: " + this.profile)  
16 if (this.profile && this.profile.type === 'Person') { 15 if (this.profile && this.profile.type === 'Person') {
17 this.defaultIcon = 'fa-user'; 16 this.defaultIcon = 'fa-user';
18 } 17 }