diff --git a/src/views/settings/components/Gopher.vue b/src/views/settings/components/Gopher.vue
index b09599d9..cc920727 100644
--- a/src/views/settings/components/Gopher.vue
+++ b/src/views/settings/components/Gopher.vue
@@ -23,7 +23,7 @@ export default {
return this.settings.description.find(setting => setting.key === ':gopher')
},
gopherData() {
- return this.settings.settings[':gopher']
+ return this.settings.settings.pleroma[':gopher']
},
isMobile() {
return this.$store.state.app.device === 'mobile'
diff --git a/src/views/settings/components/Http.vue b/src/views/settings/components/Http.vue
index 9c6a0401..0e129f00 100644
--- a/src/views/settings/components/Http.vue
+++ b/src/views/settings/components/Http.vue
@@ -10,9 +10,6 @@
-
-
-
Submit
@@ -36,25 +33,19 @@ export default {
return this.settings.description.find(setting => setting.group === ':cors_plug')
},
corsPlugData() {
- return this.settings.settings[':cors_plug']
- },
- hackneyPools() {
- return this.settings.description.find(setting => setting.key === ':hackney_pools')
- },
- hackneyPoolsData() {
- return this.settings.settings[':hackney_pools']
+ return this.settings.settings.cors_plug
},
http() {
return this.settings.description.find(setting => setting.key === ':http')
},
httpData() {
- return this.settings.settings[':http']
+ return this.settings.settings.pleroma[':http']
},
httpSecurity() {
return this.settings.description.find(setting => setting.key === ':http_security')
},
httpSecurityData() {
- return this.settings.settings[':http_security']
+ return this.settings.settings.pleroma[':http_security']
},
isMobile() {
return this.$store.state.app.device === 'mobile'
diff --git a/src/views/settings/components/Inputs.vue b/src/views/settings/components/Inputs.vue
index 5b89e2fc..72877479 100644
--- a/src/views/settings/components/Inputs.vue
+++ b/src/views/settings/components/Inputs.vue
@@ -38,7 +38,7 @@
setting.description === `Allows to set a token that can be used to authenticate with the admin api without using an actual user by giving it as the 'admin_token' parameter`)
},
adminTokenData() {
- return this.settings.settings[':admin_token']
+ return this.settings.settings.pleroma[':admin_token']
},
fetchInitialPosts() {
return this.settings.description.find(setting => setting.key === ':fetch_initial_posts')
},
fetchInitialPostsData() {
- return this.settings.settings[':fetch_initial_posts']
+ return this.settings.settings.pleroma[':fetch_initial_posts']
},
instance() {
return this.settings.description.find(setting => setting.key === ':instance')
},
instanceData() {
- return this.settings.settings[':instance']
+ return this.settings.settings.pleroma[':instance']
},
isMobile() {
return this.$store.state.app.device === 'mobile'
@@ -79,25 +79,25 @@ export default {
return this.settings.description.find(setting => setting.key === 'Pleroma.User')
},
pleromaUserData() {
- return this.settings.settings['Pleroma.User']
+ return this.settings.settings.pleroma['Pleroma.User']
},
scheduledActivity() {
return this.$store.state.settings.description.find(setting => setting.key === 'Pleroma.ScheduledActivity')
},
scheduledActivityData() {
- return this.settings.settings['Pleroma.ScheduledActivity']
+ return this.settings.settings.pleroma['Pleroma.ScheduledActivity']
},
suggestions() {
return this.$store.state.settings.description.find(setting => setting.key === ':suggestions')
},
suggestionsData() {
- return this.settings.settings[':suggestions']
+ return this.settings.settings.pleroma[':suggestions']
},
uriSchemes() {
return this.$store.state.settings.description.find(setting => setting.key === ':uri_schemes')
},
uriSchemesData() {
- return this.settings.settings[':uri_schemes']
+ return this.settings.settings.pleroma[':uri_schemes']
}
},
methods: {