[ENG-714] 'Open with' not on folders (#935)

* Update OpenWith.tsx

* Update OpenWith.tsx

* Update OpenWith.tsx
This commit is contained in:
ameer2468 authored and GitHub committed 2023-06-12 16:00:37 +00:00
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>