forked from AkkomaGang/admin-fe
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'
|
'settings'
|
||||||
]),
|
]),
|
||||||
activityExpiration() {
|
activityExpiration() {
|
||||||
return this.settings.description.find(setting => setting.key === 'Pleroma.ActivityExpiration')
|
return this.settings.description.find(setting => setting.key === 'Pleroma.Workers.PurgeExpiredActivity')
|
||||||
},
|
},
|
||||||
activityExpirationData() {
|
activityExpirationData() {
|
||||||
return _.get(this.settings.settings, [':pleroma', 'Pleroma.ActivityExpiration']) || {}
|
return _.get(this.settings.settings, [':pleroma', 'Pleroma.Workers.PurgeExpiredActivity']) || {}
|
||||||
},
|
},
|
||||||
connectionsPools() {
|
connectionsPools() {
|
||||||
return this.settings.description.find(setting => setting.key === ':connections_pool')
|
return this.settings.description.find(setting => setting.key === ':connections_pool')
|
||||||
|
|
|
@ -77,10 +77,10 @@ export default {
|
||||||
return _.get(this.settings.settings, [':pleroma', ':modules']) || {}
|
return _.get(this.settings.settings, [':pleroma', ':modules']) || {}
|
||||||
},
|
},
|
||||||
remoteIp() {
|
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() {
|
remoteIpData() {
|
||||||
return _.get(this.settings.settings, [':pleroma', 'Pleroma.Plugs.RemoteIp']) || {}
|
return _.get(this.settings.settings, [':pleroma', 'Pleroma.Web.Plugs.RemoteIp']) || {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -78,7 +78,7 @@ export const tabs = description => {
|
||||||
},
|
},
|
||||||
'other': {
|
'other': {
|
||||||
label: 'settings.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