Change groups names
This commit is contained in:
parent
33aee0b859
commit
957d87d757
22 changed files with 81 additions and 82 deletions
|
@ -5,19 +5,19 @@ const settings = {
|
|||
state: {
|
||||
description: [],
|
||||
settings: {
|
||||
auto_linker: {},
|
||||
cors_plug: {},
|
||||
esshd: {},
|
||||
http_signatures: {},
|
||||
logger: {},
|
||||
mime: {},
|
||||
phoenix: {},
|
||||
pleroma: {},
|
||||
prometheus: {},
|
||||
quack: {},
|
||||
tesla: {},
|
||||
ueberauth: {},
|
||||
web_push_encryption: {}
|
||||
':auto_linker': {},
|
||||
':cors_plug': {},
|
||||
':esshd': {},
|
||||
':http_signatures': {},
|
||||
':logger': {},
|
||||
':mime': {},
|
||||
':phoenix': {},
|
||||
':pleroma': {},
|
||||
':prometheus': {},
|
||||
':quack': {},
|
||||
':tesla': {},
|
||||
':ueberauth': {},
|
||||
':web_push_encryption': {}
|
||||
},
|
||||
updatedSettings: {},
|
||||
ignoredIfNotEnabled: ['enabled', 'handler', 'password_authenticator', 'port', 'priv_dir'],
|
||||
|
@ -42,13 +42,12 @@ const settings = {
|
|||
state.settings = newSettings
|
||||
},
|
||||
UPDATE_SETTINGS: (state, { group, tab, data }) => {
|
||||
const groupUPD = group.substr(1)
|
||||
const updatedState = { [tab]: { ...state.settings[groupUPD][tab], ...data }}
|
||||
const updatedSetting = state.updatedSettings[groupUPD]
|
||||
? { [tab]: { ...state.updatedSettings[groupUPD][tab], ...data }}
|
||||
const updatedState = { [tab]: { ...state.settings[group][tab], ...data }}
|
||||
const updatedSetting = state.updatedSettings[group]
|
||||
? { [tab]: { ...state.updatedSettings[group][tab], ...data }}
|
||||
: { [tab]: data }
|
||||
state.settings[groupUPD] = { ...state.settings[groupUPD], ...updatedState }
|
||||
state.updatedSettings[groupUPD] = { ...state.updatedSettings[groupUPD], ...updatedSetting }
|
||||
state.settings[group] = { ...state.settings[group], ...updatedState }
|
||||
state.updatedSettings[group] = { ...state.updatedSettings[group], ...updatedSetting }
|
||||
}
|
||||
},
|
||||
actions: {
|
||||
|
|
|
@ -29,7 +29,7 @@ export default {
|
|||
return this.settings.description.find(setting => setting.key === ':activitypub')
|
||||
},
|
||||
activitypubData() {
|
||||
return this.settings.settings.pleroma[':activitypub']
|
||||
return this.settings.settings[':pleroma'][':activitypub']
|
||||
},
|
||||
isMobile() {
|
||||
return this.$store.state.app.device === 'mobile'
|
||||
|
@ -44,7 +44,7 @@ export default {
|
|||
return this.settings.description.find(setting => setting.key === ':user')
|
||||
},
|
||||
userData() {
|
||||
return this.settings.settings.pleroma[':user']
|
||||
return this.settings.settings[':pleroma'][':user']
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
|
@ -37,7 +37,7 @@ export default {
|
|||
return this.settings.description.find(setting => setting.key === ':auth')
|
||||
},
|
||||
authData() {
|
||||
return this.settings.settings.pleroma[':auth']
|
||||
return this.settings.settings[':pleroma'][':auth']
|
||||
},
|
||||
isMobile() {
|
||||
return this.$store.state.app.device === 'mobile'
|
||||
|
@ -49,7 +49,7 @@ export default {
|
|||
return this.settings.description.find(setting => setting.key === ':ldap')
|
||||
},
|
||||
ldapData() {
|
||||
return this.settings.settings.pleroma[':ldap']
|
||||
return this.settings.settings[':pleroma'][':ldap']
|
||||
},
|
||||
loading() {
|
||||
return this.settings.loading
|
||||
|
@ -58,13 +58,13 @@ export default {
|
|||
return this.settings.description.find(setting => setting.key === ':oauth2')
|
||||
},
|
||||
oauth2Data() {
|
||||
return this.settings.settings.pleroma[':oauth2']
|
||||
return this.settings.settings[':pleroma'][':oauth2']
|
||||
},
|
||||
pleromaAuthenticator() {
|
||||
return this.settings.description.find(setting => setting.description === 'Authenticator')
|
||||
},
|
||||
pleromaAuthenticatorData() {
|
||||
return this.settings.settings.pleroma['Pleroma.Web.Auth.Authenticator']
|
||||
return this.settings.settings[':pleroma']['Pleroma.Web.Auth.Authenticator']
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
|
@ -23,7 +23,7 @@ export default {
|
|||
return this.settings.description.find(setting => setting.key === ':opts')
|
||||
},
|
||||
autoLinkerData() {
|
||||
return this.settings.settings.auto_linker[':opts']
|
||||
return this.settings.settings[':auto_linker'][':opts']
|
||||
},
|
||||
isMobile() {
|
||||
return this.$store.state.app.device === 'mobile'
|
||||
|
|
|
@ -29,7 +29,7 @@ export default {
|
|||
return this.settings.description.find(setting => setting.key === 'Pleroma.Captcha')
|
||||
},
|
||||
captchaData() {
|
||||
return this.settings.settings.pleroma['Pleroma.Captcha']
|
||||
return this.settings.settings[':pleroma']['Pleroma.Captcha']
|
||||
},
|
||||
isMobile() {
|
||||
return this.$store.state.app.device === 'mobile'
|
||||
|
@ -38,7 +38,7 @@ export default {
|
|||
return this.settings.description.find(setting => setting.key === 'Pleroma.Captcha.Kocaptcha')
|
||||
},
|
||||
kocaptchaData() {
|
||||
return this.settings.settings.pleroma['Pleroma.Captcha.Kocaptcha']
|
||||
return this.settings.settings[':pleroma']['Pleroma.Captcha.Kocaptcha']
|
||||
},
|
||||
labelWidth() {
|
||||
return this.isMobile ? '100px' : '240px'
|
||||
|
|
|
@ -25,7 +25,7 @@ export default {
|
|||
return this.settings.description.find(setting => setting.key === ':database')
|
||||
},
|
||||
databaseData() {
|
||||
return this.settings.settings.pleroma[':database']
|
||||
return this.settings.settings[':pleroma'][':database']
|
||||
},
|
||||
isMobile() {
|
||||
return this.$store.state.app.device === 'mobile'
|
||||
|
|
|
@ -35,13 +35,13 @@ export default {
|
|||
return this.settings.description.find(setting => setting.key === 'Pleroma.Web.Endpoint')
|
||||
},
|
||||
endpointData() {
|
||||
return this.settings.settings.pleroma['Pleroma.Web.Endpoint']
|
||||
return this.settings.settings[':pleroma']['Pleroma.Web.Endpoint']
|
||||
},
|
||||
endpointMetricsExporter() {
|
||||
return this.settings.description.find(setting => setting.key === 'Pleroma.Web.Endpoint.MetricsExporter')
|
||||
},
|
||||
endpointMetricsExporterData() {
|
||||
return this.settings.settings.prometheus['Pleroma.Web.Endpoint.MetricsExporter']
|
||||
return this.settings.settings[':prometheus']['Pleroma.Web.Endpoint.MetricsExporter']
|
||||
},
|
||||
isMobile() {
|
||||
return this.$store.state.app.device === 'mobile'
|
||||
|
@ -56,7 +56,7 @@ export default {
|
|||
return this.settings.description.find(setting => setting.key === 'Pleroma.Plugs.RemoteIp')
|
||||
},
|
||||
remoteIpData() {
|
||||
return this.settings.settings.pleroma['Pleroma.Plugs.RemoteIp']
|
||||
return this.settings.settings[':pleroma']['Pleroma.Plugs.RemoteIp']
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
|
@ -32,7 +32,7 @@ export default {
|
|||
return this.settings.description.find(setting => setting.group === ':esshd')
|
||||
},
|
||||
esshdData() {
|
||||
return this.settings.settings.esshd
|
||||
return this.settings.settings[':esshd']
|
||||
},
|
||||
isMobile() {
|
||||
return this.$store.state.app.device === 'mobile'
|
||||
|
|
|
@ -48,31 +48,31 @@ export default {
|
|||
return this.settings.description.find(setting => setting.key === ':assets')
|
||||
},
|
||||
assetsData() {
|
||||
return this.settings.settings.pleroma[':assets']
|
||||
return this.settings.settings[':pleroma'][':assets']
|
||||
},
|
||||
chat() {
|
||||
return this.settings.description.find(setting => setting.key === ':chat')
|
||||
},
|
||||
chatData() {
|
||||
return this.settings.settings.pleroma[':chat']
|
||||
return this.settings.settings[':pleroma'][':chat']
|
||||
},
|
||||
emoji() {
|
||||
return this.settings.description.find(setting => setting.key === ':emoji')
|
||||
},
|
||||
emojiData() {
|
||||
return this.settings.settings.pleroma[':emoji']
|
||||
return this.settings.settings[':pleroma'][':emoji']
|
||||
},
|
||||
frontend() {
|
||||
return this.settings.description.find(setting => setting.key === ':frontend_configurations')
|
||||
},
|
||||
frontendData() {
|
||||
return this.settings.settings.pleroma[':frontend_configurations']
|
||||
return this.settings.settings[':pleroma'][':frontend_configurations']
|
||||
},
|
||||
markup() {
|
||||
return this.settings.description.find(setting => setting.key === ':markup')
|
||||
},
|
||||
markupData() {
|
||||
return this.settings.settings.pleroma[':markup']
|
||||
return this.settings.settings[':pleroma'][':markup']
|
||||
},
|
||||
isMobile() {
|
||||
return this.$store.state.app.device === 'mobile'
|
||||
|
|
|
@ -23,7 +23,7 @@ export default {
|
|||
return this.settings.description.find(setting => setting.key === ':gopher')
|
||||
},
|
||||
gopherData() {
|
||||
return this.settings.settings.pleroma[':gopher']
|
||||
return this.settings.settings[':pleroma'][':gopher']
|
||||
},
|
||||
isMobile() {
|
||||
return this.$store.state.app.device === 'mobile'
|
||||
|
|
|
@ -41,19 +41,19 @@ export default {
|
|||
return this.settings.description.find(setting => setting.group === ':cors_plug')
|
||||
},
|
||||
corsPlugData() {
|
||||
return this.settings.settings.cors_plug
|
||||
return this.settings.settings[':cors_plug']
|
||||
},
|
||||
http() {
|
||||
return this.settings.description.find(setting => setting.key === ':http')
|
||||
},
|
||||
httpData() {
|
||||
return this.settings.settings.pleroma[':http']
|
||||
return this.settings.settings[':pleroma'][':http']
|
||||
},
|
||||
httpSecurity() {
|
||||
return this.settings.description.find(setting => setting.key === ':http_security')
|
||||
},
|
||||
httpSecurityData() {
|
||||
return this.settings.settings.pleroma[':http_security']
|
||||
return this.settings.settings[':pleroma'][':http_security']
|
||||
},
|
||||
httpSignatures() {
|
||||
return this.settings.description.find(setting => setting.group === ':http_signatures')
|
||||
|
@ -74,7 +74,7 @@ export default {
|
|||
return this.settings.description.find(setting => setting.key === ':web_cache_ttl')
|
||||
},
|
||||
webCacheTtlData() {
|
||||
return this.settings.settings.pleroma[':web_cache_ttl']
|
||||
return this.settings.settings[':pleroma'][':web_cache_ttl']
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
|
@ -56,19 +56,19 @@ export default {
|
|||
return this.settings.description.find(setting => setting.description === `Allows to set a token that can be used to authenticate with the admin api without using an actual user by giving it as the 'admin_token' parameter`)
|
||||
},
|
||||
adminTokenData() {
|
||||
return this.settings.settings.pleroma[':admin_token']
|
||||
return this.settings.settings[':pleroma'][':admin_token']
|
||||
},
|
||||
fetchInitialPosts() {
|
||||
return this.settings.description.find(setting => setting.key === ':fetch_initial_posts')
|
||||
},
|
||||
fetchInitialPostsData() {
|
||||
return this.settings.settings.pleroma[':fetch_initial_posts']
|
||||
return this.settings.settings[':pleroma'][':fetch_initial_posts']
|
||||
},
|
||||
instance() {
|
||||
return this.settings.description.find(setting => setting.key === ':instance')
|
||||
},
|
||||
instanceData() {
|
||||
return this.settings.settings.pleroma[':instance']
|
||||
return this.settings.settings[':pleroma'][':instance']
|
||||
},
|
||||
isMobile() {
|
||||
return this.$store.state.app.device === 'mobile'
|
||||
|
@ -83,31 +83,31 @@ export default {
|
|||
return this.settings.description.find(setting => setting.key === ':manifest')
|
||||
},
|
||||
manifestData() {
|
||||
return this.settings.settings.pleroma[':manifest']
|
||||
return this.settings.settings[':pleroma'][':manifest']
|
||||
},
|
||||
pleromaUser() {
|
||||
return this.settings.description.find(setting => setting.key === 'Pleroma.User')
|
||||
},
|
||||
pleromaUserData() {
|
||||
return this.settings.settings.pleroma['Pleroma.User']
|
||||
return this.settings.settings[':pleroma']['Pleroma.User']
|
||||
},
|
||||
scheduledActivity() {
|
||||
return this.$store.state.settings.description.find(setting => setting.key === 'Pleroma.ScheduledActivity')
|
||||
},
|
||||
scheduledActivityData() {
|
||||
return this.settings.settings.pleroma['Pleroma.ScheduledActivity']
|
||||
return this.settings.settings[':pleroma']['Pleroma.ScheduledActivity']
|
||||
},
|
||||
suggestions() {
|
||||
return this.$store.state.settings.description.find(setting => setting.key === ':suggestions')
|
||||
},
|
||||
suggestionsData() {
|
||||
return this.settings.settings.pleroma[':suggestions']
|
||||
return this.settings.settings[':pleroma'][':suggestions']
|
||||
},
|
||||
uriSchemes() {
|
||||
return this.$store.state.settings.description.find(setting => setting.key === ':uri_schemes')
|
||||
},
|
||||
uriSchemesData() {
|
||||
return this.settings.settings.pleroma[':uri_schemes']
|
||||
return this.settings.settings[':pleroma'][':uri_schemes']
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
|
@ -31,7 +31,7 @@ export default {
|
|||
return this.settings.description.find(setting => setting.key === 'Pleroma.ActivityExpiration')
|
||||
},
|
||||
activityExpirationData() {
|
||||
return this.settings.settings.pleroma['Pleroma.ActivityExpiration']
|
||||
return this.settings.settings[':pleroma']['Pleroma.ActivityExpiration']
|
||||
},
|
||||
isMobile() {
|
||||
return this.$store.state.app.device === 'mobile'
|
||||
|
@ -46,13 +46,13 @@ export default {
|
|||
return this.settings.description.find(setting => setting.key === 'Oban')
|
||||
},
|
||||
obanQueuesData() {
|
||||
return this.settings.settings.pleroma['Oban']
|
||||
return this.settings.settings[':pleroma']['Oban']
|
||||
},
|
||||
workers() {
|
||||
return this.settings.description.find(setting => setting.key === ':workers')
|
||||
},
|
||||
workersData() {
|
||||
return this.settings.settings.pleroma[':workers']
|
||||
return this.settings.settings[':pleroma'][':workers']
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
|
@ -38,13 +38,13 @@ export default {
|
|||
return this.settings.description.find(setting => setting.key === ':console')
|
||||
},
|
||||
consoleData() {
|
||||
return this.settings.settings.logger[':console']
|
||||
return this.settings.settings[':logger'][':console']
|
||||
},
|
||||
exsyslogger() {
|
||||
return this.settings.description.find(setting => setting.key === ':ex_syslogger')
|
||||
},
|
||||
exsysloggerData() {
|
||||
return this.settings.settings.logger[':ex_syslogger']
|
||||
return this.settings.settings[':logger'][':ex_syslogger']
|
||||
},
|
||||
isMobile() {
|
||||
return this.$store.state.app.device === 'mobile'
|
||||
|
@ -59,13 +59,13 @@ export default {
|
|||
return this.settings.description.find(setting => setting.group === ':logger')
|
||||
},
|
||||
loggerData() {
|
||||
return this.settings.settings.logger[':backends']
|
||||
return this.settings.settings[':logger'][':backends']
|
||||
},
|
||||
quack() {
|
||||
return this.settings.description.find(setting => setting.group === ':quack')
|
||||
},
|
||||
quackData() {
|
||||
return this.settings.settings.quack
|
||||
return this.settings.settings[':quack']
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
|
@ -60,49 +60,49 @@ export default {
|
|||
return this.settings.description.find(setting => setting.key === ':mrf_simple')
|
||||
},
|
||||
mrfSimpleData() {
|
||||
return this.settings.settings.pleroma[':mrf_simple']
|
||||
return this.settings.settings[':pleroma'][':mrf_simple']
|
||||
},
|
||||
mrfRejectnonpublic() {
|
||||
return this.settings.description.find(setting => setting.key === ':mrf_rejectnonpublic')
|
||||
},
|
||||
mrfRejectnonpublicData() {
|
||||
return this.settings.settings.pleroma[':mrf_rejectnonpublic']
|
||||
return this.settings.settings[':pleroma'][':mrf_rejectnonpublic']
|
||||
},
|
||||
mrfHellthread() {
|
||||
return this.settings.description.find(setting => setting.key === ':mrf_hellthread')
|
||||
},
|
||||
mrfHellthreadData() {
|
||||
return this.settings.settings.pleroma[':mrf_hellthread']
|
||||
return this.settings.settings[':pleroma'][':mrf_hellthread']
|
||||
},
|
||||
mrfKeyword() {
|
||||
return this.settings.description.find(setting => setting.key === ':mrf_keyword')
|
||||
},
|
||||
mrfKeywordData() {
|
||||
return this.settings.settings.pleroma[':mrf_keyword']
|
||||
return this.settings.settings[':pleroma'][':mrf_keyword']
|
||||
},
|
||||
mrfSubchain() {
|
||||
return this.settings.description.find(setting => setting.key === ':mrf_subchain')
|
||||
},
|
||||
mrfSubchainData() {
|
||||
return this.settings.settings.pleroma[':mrf_subchain']
|
||||
return this.settings.settings[':pleroma'][':mrf_subchain']
|
||||
},
|
||||
mrfMention() {
|
||||
return this.settings.description.find(setting => setting.key === ':mrf_mention')
|
||||
},
|
||||
mrfMentionData() {
|
||||
return this.settings.settings.pleroma[':mrf_mention']
|
||||
return this.settings.settings[':pleroma'][':mrf_mention']
|
||||
},
|
||||
mrfNormalizeMarkup() {
|
||||
return this.settings.description.find(setting => setting.key === ':mrf_normalize_markup')
|
||||
},
|
||||
mrfNormalizeMarkupData() {
|
||||
return this.settings.settings.pleroma[':mrf_normalize_markup']
|
||||
return this.settings.settings[':pleroma'][':mrf_normalize_markup']
|
||||
},
|
||||
mrfVocabulary() {
|
||||
return this.settings.description.find(setting => setting.key === ':mrf_vocabulary')
|
||||
},
|
||||
mrfVocabularyData() {
|
||||
return this.settings.settings.pleroma[':mrf_vocabulary']
|
||||
return this.settings.settings[':pleroma'][':mrf_vocabulary']
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
|
@ -34,7 +34,7 @@ export default {
|
|||
return this.settings.description.find(setting => setting.key === ':email_notifications')
|
||||
},
|
||||
emailNotificationsData() {
|
||||
return this.settings.settings.pleroma[':email_notifications']
|
||||
return this.settings.settings[':pleroma'][':email_notifications']
|
||||
},
|
||||
isMobile() {
|
||||
return this.$store.state.app.device === 'mobile'
|
||||
|
@ -49,13 +49,13 @@ export default {
|
|||
return this.settings.description.find(setting => setting.key === 'Pleroma.Emails.Mailer')
|
||||
},
|
||||
mailerData() {
|
||||
return this.settings.settings.pleroma['Pleroma.Emails.Mailer']
|
||||
return this.settings.settings[':pleroma']['Pleroma.Emails.Mailer']
|
||||
},
|
||||
userEmail() {
|
||||
return this.settings.description.find(setting => setting.key === 'Pleroma.Emails.UserEmail')
|
||||
},
|
||||
userEmailData() {
|
||||
return this.settings.settings.pleroma['Pleroma.Emails.UserEmail']
|
||||
return this.settings.settings[':pleroma']['Pleroma.Emails.UserEmail']
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
|
@ -32,7 +32,7 @@ export default {
|
|||
return this.settings.description.find(setting => setting.key === ':media_proxy')
|
||||
},
|
||||
mediaProxyData() {
|
||||
return this.settings.settings.pleroma[':media_proxy']
|
||||
return this.settings.settings[':pleroma'][':media_proxy']
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
|
@ -38,13 +38,13 @@ export default {
|
|||
return this.settings.description.find(setting => setting.key === 'Pleroma.Web.Metadata')
|
||||
},
|
||||
metadataData() {
|
||||
return this.settings.settings.pleroma['Pleroma.Web.Metadata']
|
||||
return this.settings.settings[':pleroma']['Pleroma.Web.Metadata']
|
||||
},
|
||||
richMedia() {
|
||||
return this.settings.description.find(setting => setting.key === ':rich_media')
|
||||
},
|
||||
richMediaData() {
|
||||
return this.settings.settings.pleroma[':rich_media']
|
||||
return this.settings.settings[':pleroma'][':rich_media']
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
|
@ -38,13 +38,13 @@ export default {
|
|||
return this.settings.description.find(setting => setting.group === ':mime')
|
||||
},
|
||||
mimeTypesData() {
|
||||
return this.settings.settings.mime[':types']
|
||||
return this.settings.settings[':mime'][':types']
|
||||
},
|
||||
teslaAdapter() {
|
||||
return this.settings.description.find(setting => setting.group === ':tesla')
|
||||
},
|
||||
teslaAdapterData() {
|
||||
return this.settings.settings.tesla[':adapter']
|
||||
return this.settings.settings[':tesla'][':adapter']
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
|
@ -23,7 +23,7 @@ export default {
|
|||
return this.settings.description.find(setting => setting.key === ':rate_limit')
|
||||
},
|
||||
rateLimitersData() {
|
||||
return this.settings.settings.pleroma[':rate_limit']
|
||||
return this.settings.settings[':pleroma'][':rate_limit']
|
||||
},
|
||||
isMobile() {
|
||||
return this.$store.state.app.device === 'mobile'
|
||||
|
|
|
@ -53,37 +53,37 @@ export default {
|
|||
return this.settings.description.find(setting => setting.key === 'Pleroma.Upload')
|
||||
},
|
||||
uploadData() {
|
||||
return this.settings.settings.pleroma['Pleroma.Upload']
|
||||
return this.settings.settings[':pleroma']['Pleroma.Upload']
|
||||
},
|
||||
uploadersLocal() {
|
||||
return this.settings.description.find(setting => setting.key === 'Pleroma.Uploaders.Local')
|
||||
},
|
||||
uploadersLocalData() {
|
||||
return this.settings.settings.pleroma['Pleroma.Uploaders.Local']
|
||||
return this.settings.settings[':pleroma']['Pleroma.Uploaders.Local']
|
||||
},
|
||||
uploadersS3() {
|
||||
return this.settings.description.find(setting => setting.key === 'Pleroma.Uploaders.S3')
|
||||
},
|
||||
uploadersS3Data() {
|
||||
return this.settings.settings.pleroma['Pleroma.Uploaders.S3']
|
||||
return this.settings.settings[':pleroma']['Pleroma.Uploaders.S3']
|
||||
},
|
||||
uploadersMDII() {
|
||||
return this.settings.description.find(setting => setting.key === 'Pleroma.Uploaders.MDII')
|
||||
},
|
||||
uploadersMDIIData() {
|
||||
return this.settings.settings.pleroma['Pleroma.Uploaders.MDII']
|
||||
return this.settings.settings[':pleroma']['Pleroma.Uploaders.MDII']
|
||||
},
|
||||
uploadFilterMogrify() {
|
||||
return this.settings.description.find(setting => setting.key === 'Pleroma.Upload.Filter.Mogrify')
|
||||
},
|
||||
uploadFilterMogrifyData() {
|
||||
return this.settings.settings.pleroma['Pleroma.Upload.Filter.Mogrify']
|
||||
return this.settings.settings[':pleroma']['Pleroma.Upload.Filter.Mogrify']
|
||||
},
|
||||
uploadAnonymizeFilename() {
|
||||
return this.settings.description.find(setting => setting.key === 'Pleroma.Upload.Filter.AnonymizeFilename')
|
||||
},
|
||||
uploadAnonymizeFilenameData() {
|
||||
return this.settings.settings.pleroma['Pleroma.Upload.Filter.AnonymizeFilename']
|
||||
return this.settings.settings[':pleroma']['Pleroma.Upload.Filter.AnonymizeFilename']
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
|
@ -32,7 +32,7 @@ export default {
|
|||
return this.settings.description.find(setting => setting.key === ':vapid_details')
|
||||
},
|
||||
vapidDetailsData() {
|
||||
return this.settings.settings.web_push_encryption[':vapid_details']
|
||||
return this.settings.settings[':web_push_encryption'][':vapid_details']
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
Loading…
Reference in a new issue