mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
not showing lists with 0 songs
This commit is contained in:
@@ -42,6 +42,9 @@ var Frontpage = {
|
||||
if(!lists[i].hasOwnProperty("pinned")){
|
||||
lists[i].pinned = 0;
|
||||
}
|
||||
if(!lists[i].hasOwnProperty("count") || lists[i].count == 0) {
|
||||
delete lists[i];
|
||||
}
|
||||
}
|
||||
|
||||
if(popular) {
|
||||
|
||||
Reference in New Issue
Block a user