TagSpaces is an offline, open source, document manager with tagging support
fix enter key submit without validation
Stanimircaeb48843482
diff --git a/app/components/EntryProperties.tsx b/app/components/EntryProperties.tsxindex 535df04ea..ae1d296a5 100644--- a/app/components/EntryProperties.tsx+++ b/app/components/EntryProperties.tsx@@ -701,7 +701,7 @@ function EntryProperties(props: Props) {}}}onKeyDown={event => {- if (event.key === 'Enter') {+ if (event.key === 'Enter' && !fileNameError.current) {renameEntry();}}}