Update keys for PurgeExpiredActivity and RemoteIp settings
This commit is contained in:
parent
08417331ed
commit
06fb9178b7
3 changed files with 5 additions and 5 deletions
|
@ -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')
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -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']
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue