refactor(web): LabelEditor ignores blank labels; revert gratuitous tsconfig ES2022 bump

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-04 09:19:27 +02:00
parent 8d2323ed95
commit e8d173a18f
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ export function LabelEditor({
const set = (lang: string, label: string) => {
const others = value.filter((l) => l.lang !== lang);
onChange(label ? [...others, { lang, label }] : others);
onChange(label.trim() ? [...others, { lang, label }] : others);
};
return (