Web: Added closing of the dialog if the name has not changed.

This commit is contained in:
Tatiana Lopaeva 2022-09-29 14:41:59 +03:00
parent a916ea0deb
commit 0f70e76996

View File

@ -47,6 +47,8 @@ const RenameEvent = ({
if (isSameTitle) {
setStartValue(originalTitle);
setIsLoading(false);
onClose();
return editCompleteAction(item, type);
} else {