mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-09-01 08:15:15 +02:00
Hide add to playlist buttons for ebooks
This commit is contained in:
parent
b11b1be432
commit
2032dd88ba
2 changed files with 7 additions and 5 deletions
|
@ -452,11 +452,13 @@ export default {
|
|||
text: this.$strings.LabelAddToCollection
|
||||
})
|
||||
}
|
||||
if (this.numTracks) {
|
||||
items.push({
|
||||
func: 'openPlaylists',
|
||||
text: this.$strings.LabelAddToPlaylist
|
||||
})
|
||||
}
|
||||
}
|
||||
if (this.userCanUpdate) {
|
||||
items.push({
|
||||
func: 'showEditModalFiles',
|
||||
|
|
|
@ -158,7 +158,7 @@
|
|||
<ui-icon-btn icon="collections_bookmark" class="mx-0.5" outlined @click="collectionsClick" />
|
||||
</ui-tooltip>
|
||||
|
||||
<ui-tooltip v-if="!isPodcast" :text="$strings.LabelYourPlaylists" direction="top">
|
||||
<ui-tooltip v-if="!isPodcast && tracks.length" :text="$strings.LabelYourPlaylists" direction="top">
|
||||
<ui-icon-btn icon="playlist_add" class="mx-0.5" outlined @click="playlistsClick" />
|
||||
</ui-tooltip>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue