fix: Reset editing state when collection/document title is unmodified (#9221)

This commit is contained in:
Hemachandar authored and GitHub committed 2025-05-15 14:12:26 +00:00
1 parent 90af35d4bd
commit d50f0986bb
1 file changed
+1
+1
View File
@@ -69,6 +69,7 @@ function EditableTitle(
if (trimmedValue === originalValue || trimmedValue.length === 0) {
setValue(originalValue);
setIsEditing(false);
onCancel?.();
return;
}