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

Commit 8840cb4

Browse files
committed
0.8.7
1 parent dd41ff6 commit 8840cb4

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class AtomicCalendar extends LitElement {
3535

3636
render() {
3737
if(this.firstrun){
38-
console.log("atomic_calendar v0.8.6 loaded")
38+
console.log("atomic_calendar v0.8.7 loaded")
3939
}
4040
this.language = this.config.language != '' ? this.config.language : this.hass.language.toLowerCase()
4141
let timeFormat = moment.localeData(this.language).longDateFormat('LT')
@@ -584,7 +584,7 @@ class AtomicCalendar extends LitElement {
584584
}
585585

586586
// check if no events for today and push a "no events" fake event
587-
if (moment(days[0][0].startTime).isAfter(moment(), "day") && days[0].length > 0) {
587+
if (showNoEventsForToday && moment(days[0][0].startTime).isAfter(moment(), "day") && days[0].length > 0) {
588588
var emptyEv = {
589589
eventClass :'',
590590
config : '',

atomic_calendar.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/atomic_calendar.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)