fix sql
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
import SettingValueField from './SettingValueField.vue'
|
||||
import {
|
||||
helpText,
|
||||
KEY_LABEL_FALLBACK,
|
||||
resolveSettingTitle,
|
||||
resolveSettingFieldType,
|
||||
type SettingFieldType
|
||||
} from './settingTypes'
|
||||
@@ -63,9 +63,7 @@ const emit = defineEmits<{
|
||||
const settingKey = computed(() => props.row.key ?? '')
|
||||
const settingType = computed(() => props.row.type)
|
||||
const description = computed(() => props.row.description)
|
||||
const title = computed(
|
||||
() => props.row.title_fa || (props.row.key && KEY_LABEL_FALLBACK[props.row.key]) || props.row.key || '—'
|
||||
)
|
||||
const title = computed(() => resolveSettingTitle(props.row))
|
||||
|
||||
const fieldType = computed<SettingFieldType>(() =>
|
||||
resolveSettingFieldType({ key: props.row.key, type: props.row.type })
|
||||
|
||||
Reference in New Issue
Block a user