#41 - 2 #50

Merged
thomas merged 3 commits from fix-1.0-41 into develop-1.0 2022-05-21 17:21:51 +00:00
Showing only changes of commit 12dcd94573 - Show all commits

View File

@ -38,7 +38,7 @@ export default class Live {
const now = new Date() const now = new Date()
let item = data.find(it => it.start && (it.start <= now < it.end)) || let item = data.find(it => it.start && (it.start <= now < it.end)) ||
data.length ? data[data.length-1] : null; data.length ? data[0] : null;
if(item) { if(item) {
item.src = this.src item.src = this.src
this.current = new Model(item) this.current = new Model(item)