Compare commits

..

1 Commits

Author SHA1 Message Date
Carlos Valente 82d0508672 hotfix/0.8.1 prevent issue with falsy value (#107) 2022-04-12 19:46:01 +02:00
+1 -1
View File
@@ -1304,7 +1304,7 @@ export class EventTimer extends Timer {
if (this.selectedEventIndex === this.numEvents - 1) return;
// if there is no event running, go to first
if (!this.selectedEventIndex) {
if (this.selectedEventIndex === null) {
this.loadEvent(0);
} else {
const gotoEvent =