feat: adjust prefix display
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 6s

This commit is contained in:
Methapon2001 2025-07-09 14:19:59 +07:00
parent 9999a49fa0
commit 7d1a32efb4
2 changed files with 8 additions and 3 deletions

View file

@ -401,8 +401,8 @@ watch(
label="Prefix"
:model-value="
readonly
? capitalize(prefixName || '') || '-'
: capitalize(prefixName || '')
? prefixName.toUpperCase() || '-'
: prefixName.toUpperCase() || ''
"
@update:model-value="
(v) => (typeof v === 'string' ? (prefixName = v) : '')