Skip to content

Commit

Permalink
Update hasl-departure-card.js
Browse files Browse the repository at this point in the history
  • Loading branch information
DSorlov committed Sep 10, 2022
1 parent 6e62504 commit 027d68c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions dist/hasl-departure-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,11 @@ class HASLDepartureCard extends HTMLElement {

// Updated
if (config.updated === true) {
if (this.config.updated_minutes==0 || this.config.updated_minutes < minutesSinceUpdate )
html += `<table><tr>
<td class="last-update"><sub><i>${lang[culture].last_updated} ${updatedValue}</i></sub></td>
</tr></table>`;
if (this.config.updated_minutes==0 || this.config.updated_minutes < minutesSinceUpdate ) {
html += `<table><tr>
<td class="last-update"><sub><i>${lang[culture].last_updated} ${updatedValue}</i></sub></td>
</tr></table>`;
}
}
}
}
Expand Down

0 comments on commit 027d68c

Please sign in to comment.