TagSpaces is an offline, open source, document manager with tagging support
Navigate to parent directory broken on search results (#1856)
Stanimir476f2f776b8c
diff --git a/app/components/menus/FileMenu.tsx b/app/components/menus/FileMenu.tsxindex fdc058940..e173bb716 100644--- a/app/components/menus/FileMenu.tsx+++ b/app/components/menus/FileMenu.tsx@@ -92,6 +92,7 @@ interface Props {setLastBackgroundImageChange: (path: string, dt: number) => void;reorderTop?: () => void;reorderBottom?: () => void;+ exitSearchMode: () => void;}function FileMenu(props: Props) {@@ -250,6 +251,7 @@ function FileMenu(props: Props) {selectedFilePath,PlatformIO.getDirSeparator());+ props.exitSearchMode();props.loadDirectoryContent(parentFolder, false, true);}}@@ -504,7 +506,8 @@ function FileMenu(props: Props) {function mapDispatchToProps(dispatch) {return bindActionCreators({- setLastBackgroundImageChange: AppActions.setLastBackgroundImageChange+ setLastBackgroundImageChange: AppActions.setLastBackgroundImageChange,+ exitSearchMode: AppActions.exitSearchMode},dispatch);