mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-20 19:06:06 +01:00
Hide add to playlist buttons for ebooks
This commit is contained in:
parent
b11b1be432
commit
2032dd88ba
@ -452,10 +452,12 @@ export default {
|
|||||||
text: this.$strings.LabelAddToCollection
|
text: this.$strings.LabelAddToCollection
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
items.push({
|
if (this.numTracks) {
|
||||||
func: 'openPlaylists',
|
items.push({
|
||||||
text: this.$strings.LabelAddToPlaylist
|
func: 'openPlaylists',
|
||||||
})
|
text: this.$strings.LabelAddToPlaylist
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (this.userCanUpdate) {
|
if (this.userCanUpdate) {
|
||||||
items.push({
|
items.push({
|
||||||
|
@ -158,7 +158,7 @@
|
|||||||
<ui-icon-btn icon="collections_bookmark" class="mx-0.5" outlined @click="collectionsClick" />
|
<ui-icon-btn icon="collections_bookmark" class="mx-0.5" outlined @click="collectionsClick" />
|
||||||
</ui-tooltip>
|
</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-icon-btn icon="playlist_add" class="mx-0.5" outlined @click="playlistsClick" />
|
||||||
</ui-tooltip>
|
</ui-tooltip>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user