From c42da704d070b3949052070d86840deb8c769584 Mon Sep 17 00:00:00 2001 From: booploops <49113086+booploops@users.noreply.github.com> Date: Sat, 4 Dec 2021 13:48:58 -0800 Subject: [PATCH] bandaid --- resources/cider-ui-tests/index.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 {