X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/0070db330ad6cbd9078b0c9f10bd18a32e4d1012..1fa1f80e121450f963ca4e6a69e6a8c1ccc78cfe:/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 324156a3..e1a0d5e0 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} />
 );
