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

Commit

Permalink
fix(diamond): switch home and away to match blaseball.com
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Reed committed Sep 28, 2020
1 parent 4877d76 commit 32ec8bb
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/app/diamond/diamond.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -212,13 +212,13 @@
<div>OUT&nbsp;<div class="scorebox-box">{{game.halfInningOuts}}</div></div>
</ion-col>
<ion-col>
<div (click)="openTeam(game.homeTeam, $event)">
<div (click)="openTeam(game.awayTeam, $event)">
<span>
<span class="atbat" *ngIf="game.topOfInning"></span>
<span class="atbat" *ngIf="!game.topOfInning"><ion-icon src="assets/Baseball_bat.svg"></ion-icon></span>
<span *ngIf="teams[game.homeTeam]">{{teams[game.homeTeam].shorthand}}</span>
<span *ngIf="!teams[game.homeTeam]">HOME</span>
</span>&nbsp;<div class="scorebox-box">{{game.homeScore}}</div>
<span class="atbat" *ngIf="!game.topOfInning"></span>
<span class="atbat" *ngIf="game.topOfInning"><ion-icon src="assets/Baseball_bat.svg"></ion-icon></span>
<span *ngIf="teams[game.awayTeam]">{{teams[game.awayTeam].shorthand}}</span>
<span *ngIf="!teams[game.awayTeam]">AWAY</span>
</span>&nbsp;<div class="scorebox-box">{{game.awayScore}}</div>
</div>
</ion-col>
</ion-row>
Expand All @@ -230,13 +230,13 @@
<div>STRIKE&nbsp;<div class="scorebox-box">{{game.atBatStrikes}}</div></div>
</ion-col>
<ion-col>
<div (click)="openTeam(game.awayTeam, $event)">
<div (click)="openTeam(game.homeTeam, $event)">
<span>
<span class="atbat" *ngIf="!game.topOfInning"></span>
<span class="atbat" *ngIf="game.topOfInning"><ion-icon src="assets/Baseball_bat.svg"></ion-icon></span>
<span *ngIf="teams[game.awayTeam]">{{teams[game.awayTeam].shorthand}}</span>
<span *ngIf="!teams[game.awayTeam]">AWAY</span>
</span>&nbsp;<div class="scorebox-box">{{game.awayScore}}</div>
<span class="atbat" *ngIf="game.topOfInning"></span>
<span class="atbat" *ngIf="!game.topOfInning"><ion-icon src="assets/Baseball_bat.svg"></ion-icon></span>
<span *ngIf="teams[game.homeTeam]">{{teams[game.homeTeam].shorthand}}</span>
<span *ngIf="!teams[game.homeTeam]">HOME</span>
</span>&nbsp;<div class="scorebox-box">{{game.homeScore}}</div>
</div>
</ion-col>
</ion-row>
Expand Down

0 comments on commit 32ec8bb

Please sign in to comment.