Skip to content
This repository has been archived by the owner on Sep 25, 2021. It is now read-only.

Commit

Permalink
0.8.8
Browse files Browse the repository at this point in the history
  • Loading branch information
atomic7777 committed Jul 10, 2019
1 parent 8840cb4 commit 2f87dfb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class AtomicCalendar extends LitElement {

render() {
if(this.firstrun){
console.log("atomic_calendar v0.8.7 loaded")
console.log("atomic_calendar v0.8.8 loaded")
}
this.language = this.config.language != '' ? this.config.language : this.hass.language.toLowerCase()
let timeFormat = moment.localeData(this.language).longDateFormat('LT')
Expand Down Expand Up @@ -584,7 +584,7 @@ class AtomicCalendar extends LitElement {
}

// check if no events for today and push a "no events" fake event
if (showNoEventsForToday && moment(days[0][0].startTime).isAfter(moment(), "day") && days[0].length > 0) {
if (this.config.showNoEventsForToday && moment(days[0][0].startTime).isAfter(moment(), "day") && days[0].length > 0) {
var emptyEv = {
eventClass :'',
config : '',
Expand Down
2 changes: 1 addition & 1 deletion atomic_calendar.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/atomic_calendar.js

Large diffs are not rendered by default.

0 comments on commit 2f87dfb

Please sign in to comment.