Fixed a bug where the albums-separator showed up without albums
This commit is contained in:
parent
e3fe5042dc
commit
47f4837f0c
BIN
dist/main.js
vendored
BIN
dist/main.js
vendored
Binary file not shown.
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user