diff --git a/dist/main.js b/dist/main.js index ff87716..be5a4ea 100644 Binary files a/dist/main.js and b/dist/main.js differ diff --git a/src/scripts/view.js b/src/scripts/view.js index 5891afa..aca3338 100644 --- a/src/scripts/view.js +++ b/src/scripts/view.js @@ -151,7 +151,7 @@ view.albums = { if (!lychee.publicMode) smartData = build.divider('Smart Albums') + build.album(albums.json.unsortedAlbum) + build.album(albums.json.starredAlbum) + build.album(albums.json.publicAlbum) + build.album(albums.json.recentAlbum); /* Albums */ - if (albums.json.content) { + if (albums.json.content&&albums.json.num!==0) { $.each(albums.json.content, function() { albums.parse(this);