Fix #424: Hide unplayable/emtpy playlists in "Browse playlist" pages

This commit is contained in:
Eliot Berriot 2019-01-17 11:42:46 +01:00
parent f7986a2341
commit f42383dbe7
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
2 changed files with 3 additions and 1 deletions

View File

@ -0,0 +1 @@
Hide unplayable/emtpy playlists in "Browse playlist" pages (#424)

View File

@ -130,7 +130,8 @@ export default {
page: this.page, page: this.page,
page_size: this.paginateBy, page_size: this.paginateBy,
q: this.query, q: this.query,
ordering: this.getOrderingAsString() ordering: this.getOrderingAsString(),
playable: true
} }
axios.get(url, { params: params }).then(response => { axios.get(url, { params: params }).then(response => {
self.result = response.data self.result = response.data