forked from rc/aircox
dont save on_air Sound in local storage playlist
This commit is contained in:
parent
916c025dc6
commit
6c2d3feb35
|
@ -200,6 +200,8 @@ Playlist.prototype = {
|
||||||
var list = [];
|
var list = [];
|
||||||
for(var i in this.sounds) {
|
for(var i in this.sounds) {
|
||||||
var sound = Object.assign({}, this.sounds[i])
|
var sound = Object.assign({}, this.sounds[i])
|
||||||
|
if(sound.on_air)
|
||||||
|
continue;
|
||||||
delete sound.item;
|
delete sound.item;
|
||||||
list.push(sound);
|
list.push(sound);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user