mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-16 06:11:38 +00:00
feat: Add option to disable showing the version and option to prevent checking for updates
This commit is contained in:
parent
4db26f9f79
commit
d73aa1782e
16 changed files with 91 additions and 8 deletions
|
|
@ -139,7 +139,7 @@ export default {
|
|||
return this.$store.state.versionData || {}
|
||||
},
|
||||
hasUpdate() {
|
||||
return !!this.versionData.hasUpdate
|
||||
return this.$store.getters['getServerSetting']('versionUpdateCheck') && !!this.versionData.hasUpdate
|
||||
},
|
||||
latestVersion() {
|
||||
return this.versionData.latestVersion
|
||||
|
|
@ -152,6 +152,9 @@ export default {
|
|||
},
|
||||
streamLibraryItem() {
|
||||
return this.$store.state.streamLibraryItem
|
||||
},
|
||||
showVersion() {
|
||||
return this.$store.getters['getServerSetting']('showVersion')
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue