Fixed a bug where the albums-separator showed up without albums

This commit is contained in:
Tobias Reich 2014-11-23 00:09:10 +01:00
parent e3fe5042dc
commit 47f4837f0c
2 changed files with 1 additions and 1 deletions

BIN
dist/main.js vendored

Binary file not shown.

View File

@ -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);