X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/3b5edb7ae1de4709acef5d2c58ce12ecf5eb9fcf..78fc087578d042bfede52c1f0569d3afb758e3d5:/src/components/file-tree/file-thumbnail.tsx

diff --git a/src/components/file-tree/file-thumbnail.tsx b/src/components/file-tree/file-thumbnail.tsx
index 324156a3f1..e1a0d5e051 100644
--- a/src/components/file-tree/file-thumbnail.tsx
+++ b/src/components/file-tree/file-thumbnail.tsx
@@ -29,10 +29,8 @@ const imageFileThumbnailStyle = withStyles<ImageFileThumbnailCssRules>(theme =>
 
 const ImageFileThumbnail = imageFileThumbnailStyle(
     ({ classes, file }: WithStyles<ImageFileThumbnailCssRules> & FileThumbnailProps) =>
-        file.type === CollectionFileType.DIRECTORY
-            ? null
-            : <img
-                className={classes.thumbnail}
-                alt={file.name}
-                src={file.url} />
+        <img
+            className={classes.thumbnail}
+            alt={file.name}
+            src={file.url} />
 );
