feat: Add option to disable showing the version and option to prevent checking for updates

This commit is contained in:
Divyang Joshi 2023-04-28 19:28:23 -04:00
parent 4db26f9f79
commit d73aa1782e
No known key found for this signature in database
GPG key ID: 4155AEF0D685BA17
16 changed files with 91 additions and 8 deletions

View file

@ -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: {