Hide add to playlist buttons for ebooks

This commit is contained in:
advplyr 2022-11-27 14:16:22 -06:00
parent b11b1be432
commit 2032dd88ba
2 changed files with 7 additions and 5 deletions

View file

@ -452,10 +452,12 @@ export default {
text: this.$strings.LabelAddToCollection
})
}
items.push({
func: 'openPlaylists',
text: this.$strings.LabelAddToPlaylist
})
if (this.numTracks) {
items.push({
func: 'openPlaylists',
text: this.$strings.LabelAddToPlaylist
})
}
}
if (this.userCanUpdate) {
items.push({