diff --git a/resources/cider-ui-tests/index.js b/resources/cider-ui-tests/index.js index c445a071..8201b69e 100644 --- a/resources/cider-ui-tests/index.js +++ b/resources/cider-ui-tests/index.js @@ -214,8 +214,12 @@ const app = new Vue({ self.library.songs.meta.progress = library.length if(typeof downloaded.next == "undefined") { console.log("downloaded.next is undefined") + self.library.songs.listing = library + self.library.songs.downloadState = 2 + self.searchLibrarySongs() + console.log(library) } - if (downloaded.meta.total > library.length && typeof downloaded.meta.next != "undefined") { + if (downloaded.meta.total > library.length || typeof downloaded.meta.next != "undefined") { console.log(`downloading next chunk - ${library.length} songs so far`) downloadChunk() } else {