Commit c77d715c9c337364c5978b1aaa424feff7d5ad4f

Authored by Carlos Purificação
1 parent 17781173

Removed log

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 }