[ARVADOS-WORKBENCH2] updated: 1.3.0-24-g1fa1f80
Git user
git at public.curoverse.com
Wed Dec 5 03:53:05 EST 2018
Summary of changes:
src/components/file-tree/file-thumbnail.tsx | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
via 1fa1f80e121450f963ca4e6a69e6a8c1ccc78cfe (commit)
from 3b5edb7ae1de4709acef5d2c58ce12ecf5eb9fcf (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 1fa1f80e121450f963ca4e6a69e6a8c1ccc78cfe
Author: Michal Klobukowski <michal.klobukowski at contractors.roche.com>
Date: Wed Dec 5 09:52:45 2018 +0100
Remove uneccesary conditional from ImageFileThumbnail
refs #14563
Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski <michal.klobukowski at contractors.roche.com>
diff --git a/src/components/file-tree/file-thumbnail.tsx b/src/components/file-tree/file-thumbnail.tsx
index 324156a..e1a0d5e 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} />
);
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list