diff --git a/src/views/settings/components/MRF.vue b/src/views/settings/components/MRF.vue
index ba2454a5..a7275d83 100644
--- a/src/views/settings/components/MRF.vue
+++ b/src/views/settings/components/MRF.vue
@@ -49,9 +49,6 @@ export default {
loading() {
return this.settings.loading
},
- modules() {
- return this.settings.description.find(setting => setting.key === ':modules')
- },
mrfSettings() {
return this.settings.description.filter(el => el.tab === 'mrf')
}
diff --git a/src/views/settings/components/Other.vue b/src/views/settings/components/Other.vue
index 978b93e4..b1ee7369 100644
--- a/src/views/settings/components/Other.vue
+++ b/src/views/settings/components/Other.vue
@@ -7,6 +7,14 @@
+
+
+
+
+
+
+
+
Submit
@@ -26,6 +34,12 @@ export default {
...mapGetters([
'settings'
]),
+ castAndValidate() {
+ return this.settings.description.find(setting => setting.key === 'Pleroma.Web.ApiSpec.CastAndValidate')
+ },
+ castAndValidateData() {
+ return _.get(this.settings.settings, [':pleroma', 'Pleroma.Web.ApiSpec.CastAndValidate']) || {}
+ },
isMobile() {
return this.$store.state.app.device === 'mobile'
},
@@ -56,6 +70,12 @@ export default {
mimeTypesData() {
return _.get(this.settings.settings, [':mime']) || {}
},
+ modules() {
+ return this.settings.description.find(setting => setting.key === ':modules')
+ },
+ modulesData() {
+ return _.get(this.settings.settings, [':pleroma', ':modules']) || {}
+ },
remoteIp() {
return this.settings.description.find(setting => setting.key === 'Pleroma.Plugs.RemoteIp')
},
diff --git a/src/views/settings/components/tabs.js b/src/views/settings/components/tabs.js
index f480a4a4..e7ff10c7 100644
--- a/src/views/settings/components/tabs.js
+++ b/src/views/settings/components/tabs.js
@@ -78,7 +78,7 @@ export const tabs = description => {
},
'other': {
label: 'settings.other',
- settings: [':mime', 'Pleroma.Plugs.RemoteIp']
+ settings: [':mime', 'Pleroma.Plugs.RemoteIp', ':modules', 'Pleroma.Web.ApiSpec.CastAndValidate']
}
}
}