diff --git a/src/views/settings/components/Other.vue b/src/views/settings/components/Other.vue index 1a66b90c..925fef81 100644 --- a/src/views/settings/components/Other.vue +++ b/src/views/settings/components/Other.vue @@ -2,6 +2,10 @@
+ + + + @@ -42,6 +46,12 @@ export default { ...mapGetters([ 'settings' ]), + backup() { + return this.settings.description.find(setting => setting.key === 'Pleroma.User.Backup') + }, + backupData() { + return _.get(this.settings.settings, [':pleroma', 'Pleroma.User.Backup']) || {} + }, castAndValidate() { return this.settings.description.find(setting => setting.key === 'Pleroma.Web.ApiSpec.CastAndValidate') }, diff --git a/src/views/settings/components/tabs.js b/src/views/settings/components/tabs.js index 320b4885..89185971 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.Web.Plugs.RemoteIp', ':modules', 'Pleroma.Web.ApiSpec.CastAndValidate', ':terms_of_services'] + settings: [':mime', 'Pleroma.User.Backup', 'Pleroma.Web.Plugs.RemoteIp', ':modules', 'Pleroma.Web.ApiSpec.CastAndValidate', ':terms_of_services'] } } }