forked from AkkomaGang/admin-fe
Fix managing Pleroma.Upload.Filter.Mogrify setting
This commit is contained in:
parent
ecebe77c40
commit
6c35973907
3 changed files with 4 additions and 3 deletions
|
@ -327,8 +327,7 @@ export default {
|
|||
type.includes('module') ||
|
||||
(type.includes('list') && type.includes('string')) ||
|
||||
(type.includes('list') && type.includes('atom')) ||
|
||||
(type.includes('regex') && type.includes('string')) ||
|
||||
this.setting.key === ':args'
|
||||
(type.includes('regex') && type.includes('string'))
|
||||
)
|
||||
},
|
||||
renderSingleSelect(type) {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<div v-if="!loading">
|
||||
<el-form-item v-if="settingGroup.label || settingGroup.description" :data-search="settingGroup.key || settingGroup.group" class="description-container">
|
||||
<span v-if="settingGroup.label" class="setting-label">{{ settingGroup.label }}</span>
|
||||
<span class="expl no-top-margin" v-html="getFormattedDescription(settingGroup.description)"/>
|
||||
<span v-if="settingGroup.description" class="expl no-top-margin" v-html="getFormattedDescription(settingGroup.description)"/>
|
||||
</el-form-item>
|
||||
<div v-if="settingGroup.key === 'Pleroma.Emails.Mailer'">
|
||||
<div v-for="setting in settingGroup.children.filter(setting => !setting.group)" :key="setting.key">
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
:value="data[setting.key]"
|
||||
:data-search="setting.key || setting.group"
|
||||
multiple
|
||||
filterable
|
||||
allow-create
|
||||
class="input"
|
||||
@change="updateSetting($event, settingGroup.group, settingGroup.key, setting.key, setting.type)">
|
||||
<el-option value="strip" label="strip"/>
|
||||
|
|
Loading…
Reference in a new issue