Überarbeitung des Pull Request, für Chico bitte offen lassen.

This commit is contained in:
2025-08-13 16:56:35 +02:00
parent 6c9afda777
commit be9e64cfd8
4 changed files with 15 additions and 16 deletions

View File

@@ -41,10 +41,10 @@
function commitIfValid() {
if (!error && !wasCancelled && localName != currentName) {
editedName = localName.trim();
const trimmedName: string = localName.trim();
inputRef?.blur();
isEditing = false;
onSave(editedName, currentName);
onSave(trimmedName, currentName);
} else {
localName = currentName;
resetEdit();