From 3413ee448a79686381624a414b18debd09120b9e Mon Sep 17 00:00:00 2001 From: ludovicm67 Date: Thu, 23 Jan 2020 21:50:20 +0100 Subject: [PATCH] webui: open image in a new tab on click --- webui/src/tag/ImageTag.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/webui/src/tag/ImageTag.js b/webui/src/tag/ImageTag.js index aea65e9deffbc1bb8b0339ec222d9bfbaa989e59..b0f0c1c847ed771132f4696314d57e48f1dfa256 100644 --- a/webui/src/tag/ImageTag.js +++ b/webui/src/tag/ImageTag.js @@ -7,9 +7,13 @@ const useStyles = makeStyles({ }, }); -const ImageTag = (props) => { +const ImageTag = ({ alt, ...props }) => { const classes = useStyles(); - return + return ( + + {alt} + + ); }; -export default ImageTag; \ No newline at end of file +export default ImageTag;