Commit deacd80c authored by NGPixel's avatar NGPixel

fix: dashboard invalid version on load

parent 155449f8
......@@ -135,7 +135,11 @@ export default {
},
computed: {
isLatestVersion() {
return semverLte(this.info.latestVersion, this.info.currentVersion)
if (this.info.latestVersion === 'n/a' || this.info.currentVersion === 'n/a') {
return true
} else {
return semverLte(this.info.latestVersion, this.info.currentVersion)
}
},
info: get('admin/info'),
permissions: get('user/permissions')
......
......@@ -53,6 +53,10 @@ defaults:
theme: 'default'
iconset: 'md'
darkMode: false
features:
featurePageRatings: true
featurePageComments: true
featurePersonalWikis: true
security:
securityOpenRedirect: true
securityIframe: true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment