From cabcbeb35d95630e01acca1cef68998a8271d51f Mon Sep 17 00:00:00 2001 From: j Date: Sun, 8 Aug 2021 20:29:13 +0200 Subject: [PATCH] list might have gone --- static/js/folderList.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/js/folderList.js b/static/js/folderList.js index d9d6bca74..82aeb9cdc 100644 --- a/static/js/folderList.js +++ b/static/js/folderList.js @@ -478,7 +478,9 @@ pandora.ui.folderList = function(id, section) { }, range: [0, 1] }, function(result) { - that.value(item, 'items', result.data.items[0].items); + if(result.data.items && result.data.items.length) { + that.value(item, 'items', result.data.items[0].items); + } callback(); }) })