Skip to content
Snippets Groups Projects
Commit c16830d6 authored by vgm18's avatar vgm18
Browse files

Fixed broke image on guardarmodal when resource doesn't have a thumbnail

parent 5da60596
No related branches found
No related tags found
3 merge requests!78MERGE DEVELOP INTO MASTER,!77Merge develop into master,!74Improved performance
......@@ -140,7 +140,7 @@ export default function ReportModal(props) {
</Header>
<Content style={{ paddingTop: "0" }}>
<ResourceInfo>
<img src={apiDomain + props.thumb} alt="thumbnail recurso" />
<img src={props.thumb ? apiDomain + props.thumb : require('../img/logo_small.svg')} alt="thumbnail recurso" />
<div className="text">
<h3>{props.title}</h3>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment