diff --git a/src/front/Components/DesignSystem/FilePreview/index.tsx b/src/front/Components/DesignSystem/FilePreview/index.tsx index 9e99150c..81046eff 100644 --- a/src/front/Components/DesignSystem/FilePreview/index.tsx +++ b/src/front/Components/DesignSystem/FilePreview/index.tsx @@ -17,9 +17,11 @@ export default class FilePreview extends React.Component { if (this.props.fileName) type = this.props.fileName.split(".").pop(); return (
-
- -
+ {!this.props.href && ( +
+ +
+ )} {this.props.href && ( <>