mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-06 16:03:52 +00:00
hotfix/0.8.1 prevent issue with falsy value (#107)
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user