Skip to content

Commit

Permalink
v0.8.1 Release Candidate (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
vasqued2 committed Jun 3, 2023
1 parent 75b0bea commit 5bafba1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/const.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export let VERSION = "v0.8.0"
export let VERSION = "v0.8.1"
6 changes: 5 additions & 1 deletion dist/teamtracker_card.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ export class TeamTrackerCard extends LitElement {
//
// Set sport, team, and oppo
//
var sport = stateObj.attributes.sport || "default";
var team = 1;
var oppo = 2;
if (((o.homeSide == "RIGHT") && (stateObj.attributes.team_homeaway == "home")) ||
Expand All @@ -104,6 +103,11 @@ export class TeamTrackerCard extends LitElement {
}
var t = new Translator(lang);

var sport = stateObj.attributes.sport || "default";
if (t.translate(sport + ".startTerm") == "{"+ sport + ".startTerm" + "}") {
sport = "default";
}

//
// Set card data
//
Expand Down

0 comments on commit 5bafba1

Please sign in to comment.