1
This commit is contained in:
parent
1446bf852b
commit
3e6ce55663
|
|
@ -169,7 +169,8 @@ const ConfigItem = ({ label, config, onUpdate, disabled }) => {
|
|||
])
|
||||
const isPctLike = PCT_LIKE_KEYS.has(label)
|
||||
const isNumberAsIs = NUMBER_AS_IS_KEYS.has(label)
|
||||
const displayLabel = KEY_LABELS[label] || label
|
||||
const baseLabel = KEY_LABELS[label]
|
||||
const displayLabel = baseLabel ? `${baseLabel} (${label})` : label
|
||||
|
||||
const formatPercent = (n) => {
|
||||
if (typeof n !== 'number' || isNaN(n)) return ''
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user