TagSpaces is an offline, open source, document manager with tagging support
fix if revisions not exist for opened file Revisions tab is not removed
sytolkd3065ef39c32
diff --git a/src/renderer/components/EntryContainerTabs.tsx b/src/renderer/components/EntryContainerTabs.tsxindex 4855054cd..9a8817fa2 100644--- a/src/renderer/components/EntryContainerTabs.tsx+++ b/src/renderer/components/EntryContainerTabs.tsx@@ -150,10 +150,8 @@ function EntryContainerTabs(props: EntryContainerTabsProps) {location?.getDirSeparator(),);location?.checkDirExist(backupFilePath).then((exist) => {- if (exist) {- haveRevisions.current = exist;- forceUpdate();- }+ haveRevisions.current = exist;+ forceUpdate();});}}, [isEditable]);