aboutsummaryrefslogtreecommitdiff
path: root/src/App.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2019-10-06 23:28:30 +0300
committerHenry Jameson <me@hjkos.com>2019-10-06 23:28:30 +0300
commit0be86304d24a5f11a64e9120c8ae1ce9121e64e8 (patch)
treea3cf63d86868a80ce1aa3ad2e6cb8cd932885b02 /src/App.js
parent20fc259350b6bc9163899b859b496b86cf0083c5 (diff)
Fix tests, more replacing with mergedConfig
Diffstat (limited to 'src/App.js')
-rw-r--r--src/App.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/App.js b/src/App.js
index fe63b54c..04a40e30 100644
--- a/src/App.js
+++ b/src/App.js
@@ -45,7 +45,7 @@ export default {
}),
created () {
// Load the locale from the storage
- this.$i18n.locale = this.$store.state.config.interfaceLanguage
+ this.$i18n.locale = this.$store.getters.mergedConfig.interfaceLanguage
window.addEventListener('resize', this.updateMobileState)
},
destroyed () {
@@ -93,7 +93,7 @@ export default {
suggestionsEnabled () { return this.$store.state.instance.suggestionsEnabled },
showInstanceSpecificPanel () {
return this.$store.state.instance.showInstanceSpecificPanel &&
- !this.$store.state.config.hideISP &&
+ !this.$store.getters.mergedConfig.hideISP &&
this.$store.state.instance.instanceSpecificPanelContent
},
showFeaturesPanel () { return this.$store.state.instance.showFeaturesPanel },