mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
not showing lists with 0 songs
This commit is contained in:
2
server/public/assets/dist/main.min.js
vendored
2
server/public/assets/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -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