mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-07-29 23:25:47 +02:00
Update:Go to web client buttons visible to all users #1079
This commit is contained in:
parent
3c6d4b5f19
commit
9715d65d88
2 changed files with 7 additions and 8 deletions
|
@ -135,13 +135,12 @@ export default {
|
||||||
})
|
})
|
||||||
|
|
||||||
if (this.serverConnectionConfig) {
|
if (this.serverConnectionConfig) {
|
||||||
if (this.userIsAdminOrUp) {
|
|
||||||
items.push({
|
items.push({
|
||||||
icon: 'language',
|
icon: 'language',
|
||||||
text: this.$strings.ButtonGoToWebClient,
|
text: this.$strings.ButtonGoToWebClient,
|
||||||
action: 'openWebClient'
|
action: 'openWebClient'
|
||||||
})
|
})
|
||||||
}
|
|
||||||
items.push({
|
items.push({
|
||||||
icon: 'login',
|
icon: 'login',
|
||||||
text: this.$strings.ButtonSwitchServerUser,
|
text: this.$strings.ButtonSwitchServerUser,
|
||||||
|
|
|
@ -135,7 +135,7 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.isConnectedToServer && this.userIsAdminOrUp) {
|
if (this.isConnectedToServer) {
|
||||||
items.push({
|
items.push({
|
||||||
text: this.$strings.ButtonGoToWebClient,
|
text: this.$strings.ButtonGoToWebClient,
|
||||||
value: 'openWebClient',
|
value: 'openWebClient',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue