last sound logs + assets
This commit is contained in:
		@ -37,7 +37,8 @@ export default class Live {
 | 
			
		||||
            this.items = data
 | 
			
		||||
 | 
			
		||||
            const now = new Date()
 | 
			
		||||
            const 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;
 | 
			
		||||
            if(item) {
 | 
			
		||||
                item.src = this.src
 | 
			
		||||
                this.current = new Model(item)
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user