Add:Nav button in side drawer and item more menu to go to web client #1079

This commit is contained in:
advplyr 2024-03-22 17:54:56 -05:00
parent f04eebe0d8
commit 3c6d4b5f19
24 changed files with 69 additions and 7 deletions

View file

@ -135,6 +135,14 @@ export default {
}
}
if (this.isConnectedToServer && this.userIsAdminOrUp) {
items.push({
text: this.$strings.ButtonGoToWebClient,
value: 'openWebClient',
icon: 'language'
})
}
if (!this.episode) {
items.push({
text: this.$strings.LabelMoreInfo,
@ -285,6 +293,8 @@ export default {
this.clickRSSFeed()
} else if (action === 'sendEbook') {
this.showSendEbookDevicesModal = true
} else if (action === 'openWebClient') {
this.$store.dispatch('user/openWebClient', `/item/${this.serverLibraryItemId}`)
}
},
async toggleFinished() {