Update:Fetch library API to return numUserPlaylists, only display playlists in siderail if user has playlists

This commit is contained in:
advplyr 2022-11-27 14:34:27 -06:00
parent 0fcf978ffe
commit 083f8faa46
3 changed files with 16 additions and 5 deletions

View file

@ -186,7 +186,7 @@ export default {
return this.$store.state.streamLibraryItem
},
showPlaylists() {
return true
return this.$store.state.libraries.numUserPlaylists > 0
}
},
methods: {