forked from rc/aircox
		
	assets: track
This commit is contained in:
		@ -38,7 +38,7 @@ export default class Live {
 | 
			
		||||
 | 
			
		||||
            const now = new Date()
 | 
			
		||||
            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) {
 | 
			
		||||
                item.src = this.src
 | 
			
		||||
                this.current = new Model(item)
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user