Reduce labels for Mailer adapter, Metadata providers, Rich Media parsers and TTL setters
This commit is contained in:
parent
8937cf87d1
commit
f822fb4ba6
2 changed files with 14 additions and 1 deletions
|
@ -254,7 +254,8 @@ export default {
|
|||
return Array.isArray(this.data) ? this.data : []
|
||||
},
|
||||
reducedSelects() {
|
||||
return [':method', ':rewrite_policy', 'Pleroma.Web.Auth.Authenticator'].includes(this.setting.key)
|
||||
return [':ttl_setters', ':parsers', ':providers', ':method', ':rewrite_policy', 'Pleroma.Web.Auth.Authenticator'].includes(this.setting.key) ||
|
||||
(this.settingGroup.key === 'Pleroma.Emails.Mailer' && this.setting.key === ':adapter')
|
||||
},
|
||||
settings() {
|
||||
return this.$store.state.settings.settings
|
||||
|
|
|
@ -79,6 +79,18 @@ export default {
|
|||
case ':method':
|
||||
prefix = 'Pleroma.Captcha.'
|
||||
break
|
||||
case ':adapter':
|
||||
prefix = 'Swoosh.Adapters.'
|
||||
break
|
||||
case ':providers':
|
||||
prefix = 'Pleroma.Web.Metadata.Providers.'
|
||||
break
|
||||
case ':parsers':
|
||||
prefix = 'Pleroma.Web.RichMedia.Parsers.'
|
||||
break
|
||||
case ':ttl_setters':
|
||||
prefix = 'Pleroma.Web.RichMedia.Parser.'
|
||||
break
|
||||
default:
|
||||
prefix = ''
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue