mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-10-12 16:04:06 -04:00
[ENG-714] 'Open with' not on folders (#935)
* Update OpenWith.tsx * Update OpenWith.tsx * Update OpenWith.tsx
This commit is contained in:
1 parent
b61798b3a9
commit
553f50e6fe
1 file changed
+1
-1
@@ -8,7 +8,7 @@ export default (props: { filePath: FilePath }) => {
|
||||
const { getFilePathOpenWithApps, openFilePathWith } = usePlatform();
|
||||
|
||||
if (!getFilePathOpenWithApps || !openFilePathWith) return null;
|
||||
|
||||
if (props.filePath.is_dir) return null;
|
||||
return (
|
||||
<ContextMenu.SubMenu label="Open with">
|
||||
<Suspense>
|
||||
|
||||
Reference in new issue
Block a user