Rename Auto Linker input to Link Formatter Input

This commit is contained in:
Angelina Filippova 2020-07-25 01:12:27 +03:00
parent 0c80942777
commit 3cc934efdc
3 changed files with 5 additions and 5 deletions

View file

@ -102,10 +102,10 @@
<template slot="prepend">:</template> <template slot="prepend">:</template>
</el-input> </el-input>
<!-- special inputs --> <!-- special inputs -->
<auto-linker-input v-if="settingGroup.group === ':auto_linker'" :data="data" :setting-group="settingGroup" :setting="setting"/>
<crontab-input v-if="setting.key === ':crontab'" :data="data[setting.key]" :setting-group="settingGroup" :setting="setting"/> <crontab-input v-if="setting.key === ':crontab'" :data="data[setting.key]" :setting-group="settingGroup" :setting="setting"/>
<editable-keyword-input v-if="editableKeyword(setting.key, setting.type)" :data="keywordData" :setting-group="settingGroup" :setting="setting"/> <editable-keyword-input v-if="editableKeyword(setting.key, setting.type)" :data="keywordData" :setting-group="settingGroup" :setting="setting"/>
<icons-input v-if="setting.key === ':icons'" :data="iconsData" :setting-group="settingGroup" :setting="setting"/> <icons-input v-if="setting.key === ':icons'" :data="iconsData" :setting-group="settingGroup" :setting="setting"/>
<link-formatter-input v-if="settingGroup.key === 'Pleroma.Formatter'" :data="data" :setting-group="settingGroup" :setting="setting"/>
<mascots-input v-if="setting.key === ':mascots'" :data="keywordData" :setting-group="settingGroup" :setting="setting"/> <mascots-input v-if="setting.key === ':mascots'" :data="keywordData" :setting-group="settingGroup" :setting="setting"/>
<proxy-url-input v-if="setting.key === ':proxy_url'" :data="data[setting.key]" :setting-group="settingGroup" :setting="setting" :parents="settingParent"/> <proxy-url-input v-if="setting.key === ':proxy_url'" :data="data[setting.key]" :setting-group="settingGroup" :setting="setting" :parents="settingParent"/>
<prune-input v-if="setting.key === ':prune'" :data="data[setting.key]" :setting-group="settingGroup" :setting="setting"/> <prune-input v-if="setting.key === ':prune'" :data="data[setting.key]" :setting-group="settingGroup" :setting="setting"/>
@ -129,11 +129,11 @@
<script> <script>
import i18n from '@/lang' import i18n from '@/lang'
import { import {
AutoLinkerInput,
CrontabInput, CrontabInput,
EditableKeywordInput, EditableKeywordInput,
IconsInput, IconsInput,
ImageUploadInput, ImageUploadInput,
LinkFormatterInput,
MascotsInput, MascotsInput,
ProxyUrlInput, ProxyUrlInput,
PruneInput, PruneInput,
@ -148,11 +148,11 @@ import marked from 'marked'
export default { export default {
name: 'Inputs', name: 'Inputs',
components: { components: {
AutoLinkerInput,
CrontabInput, CrontabInput,
EditableKeywordInput, EditableKeywordInput,
IconsInput, IconsInput,
ImageUploadInput, ImageUploadInput,
LinkFormatterInput,
MascotsInput, MascotsInput,
ProxyUrlInput, ProxyUrlInput,
PruneInput, PruneInput,

View file

@ -13,7 +13,7 @@
<script> <script>
export default { export default {
name: 'AutoLinkerInput', name: 'LinkFormatterInput',
props: { props: {
data: { data: {
type: [Object, Array], type: [Object, Array],

View file

@ -1,8 +1,8 @@
export { default as AutoLinkerInput } from './AutoLinkerInput'
export { default as EditableKeywordInput } from './EditableKeywordInput' export { default as EditableKeywordInput } from './EditableKeywordInput'
export { default as CrontabInput } from './CrontabInput' export { default as CrontabInput } from './CrontabInput'
export { default as IconsInput } from './IconsInput' export { default as IconsInput } from './IconsInput'
export { default as ImageUploadInput } from './ImageUploadInput' export { default as ImageUploadInput } from './ImageUploadInput'
export { default as LinkFormatterInput } from './LinkFormatterInput'
export { default as MascotsInput } from './MascotsInput' export { default as MascotsInput } from './MascotsInput'
export { default as ProxyUrlInput } from './ProxyUrlInput' export { default as ProxyUrlInput } from './ProxyUrlInput'
export { default as PruneInput } from './PruneInput' export { default as PruneInput } from './PruneInput'