Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
fix(team-component): actually show the emoji :/
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Reed committed Oct 19, 2020
1 parent 81583dd commit ec91995
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/app/team/team.component.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="bl-team" [style]="getTeamStyle()">
<span *ngIf="team !== 'home'" class="bl-team-emoji away" [style]="getEmojiStyle()" [innerHTML]="team.emoji"></span>
<span *ngIf="team !== 'home'" class="bl-team-emoji away" [style]="getEmojiStyle()" [innerHTML]="emoji"></span>
<span class="bl-team-name" [style]="getNameStyle()">{{name}}</span>
<span *ngIf="team === 'home'" class="bl-team-emoji home" [style]="getEmojiStyle()" [innerHTML]="team.emoji"></span>
<span *ngIf="team === 'home'" class="bl-team-emoji home" [style]="getEmojiStyle()" [innerHTML]="emoji"></span>
</div>
2 changes: 1 addition & 1 deletion src/app/team/team.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import * as Color from 'color';
})
export class TeamComponent implements OnInit {
@Input() public team: 'home'|'away'|undefined;
@Input() public emoji: number;
@Input() public emoji: string;
@Input() public textColor: string;
@Input() public teamColor = 'transparent';
@Input() public name: string;
Expand Down

0 comments on commit ec91995

Please sign in to comment.