TagSpaces is an offline, open source, document manager with tagging support
added show in file manager functionality to the folder menu
Ilian Sapundshievd6da7a0c474d
diff --git a/app/components/menus/DirectoryMenu.js b/app/components/menus/DirectoryMenu.jsindex c872f2f20..4a27fd9ea 100644--- a/app/components/menus/DirectoryMenu.js+++ b/app/components/menus/DirectoryMenu.js@@ -283,20 +283,18 @@ class DirectoryMenu extends React.Component<Props, State> {<ListItemText inset primary={i18n.t('core:deleteDirectory')} /></MenuItem>)}- {!this.props.perspectiveMode && (- <MenuItem- data-tid="openDirectoryNatively"- onClick={this.showInFileManager}- >- <ListItemIcon>- <OpenFolderNativelyIcon />- </ListItemIcon>- <ListItemText- inset- primary={i18n.t('core:openDirectoryNatively')}- />- </MenuItem>- )}+ <MenuItem+ data-tid="openDirectoryNatively"+ onClick={this.showInFileManager}+ >+ <ListItemIcon>+ <OpenFolderNativelyIcon />+ </ListItemIcon>+ <ListItemText+ inset+ primary={i18n.t('core:openDirectoryNatively')}+ />+ </MenuItem>{!this.props.perspectiveMode && (<Divider />)}diff --git a/app/perspectives/grid-perspective/src/index.js b/app/perspectives/grid-perspective/src/index.jsindex 0926d8de2..3cb56d0f5 100644--- a/app/perspectives/grid-perspective/src/index.js+++ b/app/perspectives/grid-perspective/src/index.js@@ -217,11 +217,11 @@ type Props = {currentDirectoryPath?: string,sortByCriteria: () => void,openFile: (path: string, isFile?: boolean) => void,- openFileNatively: (path: string) => void,deleteFile: (path: string) => void,deleteDirectory: (path: string) => void,loadDirectoryContent: (path: string) => void,openDirectory: (path: string) => void,+ openFileNatively: (path: string) => void,loadParentDirectoryContent: () => void,setLastSelectedEntry: (entryPath: string | null) => void,addTags: () => void,@@ -1150,6 +1150,7 @@ class GridPerspective extends React.Component<Props, State> {directoryPath={this.state.selectedEntryPath}loadDirectoryContent={this.props.loadDirectoryContent}openDirectory={this.props.openDirectory}+ openFileNatively={this.props.openFileNatively}openFile={this.props.openFile}deleteDirectory={this.props.deleteDirectory}perspectiveMode={true}