Commit 09f718b821487453da091c4b6b3ca55678e07a96
Exists in
master
and in
33 other branches
Merge branch 'profile-image-migration' into ngforward
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
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 | } |