Update keys for PurgeExpiredActivity and RemoteIp settings

This commit is contained in:
Angelina Filippova 2020-11-18 15:14:14 +03:00
parent 08417331ed
commit 06fb9178b7
3 changed files with 5 additions and 5 deletions

View file

@ -43,10 +43,10 @@ export default {
'settings'
]),
activityExpiration() {
return this.settings.description.find(setting => setting.key === 'Pleroma.ActivityExpiration')
return this.settings.description.find(setting => setting.key === 'Pleroma.Workers.PurgeExpiredActivity')
},
activityExpirationData() {
return _.get(this.settings.settings, [':pleroma', 'Pleroma.ActivityExpiration']) || {}
return _.get(this.settings.settings, [':pleroma', 'Pleroma.Workers.PurgeExpiredActivity']) || {}
},
connectionsPools() {
return this.settings.description.find(setting => setting.key === ':connections_pool')

View file

@ -77,10 +77,10 @@ export default {
return _.get(this.settings.settings, [':pleroma', ':modules']) || {}
},
remoteIp() {
return this.settings.description.find(setting => setting.key === 'Pleroma.Plugs.RemoteIp')
return this.settings.description.find(setting => setting.key === 'Pleroma.Web.Plugs.RemoteIp')
},
remoteIpData() {
return _.get(this.settings.settings, [':pleroma', 'Pleroma.Plugs.RemoteIp']) || {}
return _.get(this.settings.settings, [':pleroma', 'Pleroma.Web.Plugs.RemoteIp']) || {}
}
},
methods: {

View file

@ -78,7 +78,7 @@ export const tabs = description => {
},
'other': {
label: 'settings.other',
settings: [':mime', 'Pleroma.Plugs.RemoteIp', ':modules', 'Pleroma.Web.ApiSpec.CastAndValidate']
settings: [':mime', 'Pleroma.Web.Plugs.RemoteIp', ':modules', 'Pleroma.Web.ApiSpec.CastAndValidate']
}
}
}