Prevent displaying playlists without videos
This commit is contained in:
parent
6d0fcc6274
commit
f7eb829b5c
|
@ -277,6 +277,7 @@
|
|||
|
||||
.button-link-container {
|
||||
text-align: left;
|
||||
margin-top: 1.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -34,6 +34,12 @@ async function queryPlaylists (search: PlaylistsSearchQuery) {
|
|||
})
|
||||
}
|
||||
|
||||
mustNot.push({
|
||||
term: {
|
||||
videosLength: 0
|
||||
}
|
||||
})
|
||||
|
||||
if (search.host) {
|
||||
filter.push({
|
||||
term: {
|
||||
|
|
Loading…
Reference in New Issue