mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-31 15:47:13 +02:00
Update:Go to web client buttons visible to all users #1079
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user