|
@@ -14,9 +14,11 @@ export class EventInfoShort extends React.Component {
|
|
|
<h3 className="caption">{title}</h3>
|
|
|
<div className="place">{country}, {city}</div>
|
|
|
</div>
|
|
|
- <div className="event-date">
|
|
|
- { eventDate.map( (el,ind) =><span key={ind}>{el} </span>) }
|
|
|
- </div>
|
|
|
+ {
|
|
|
+ eventDate && <div className="event-date">
|
|
|
+ { eventDate.map( (el,ind) =><span key={ind}>{el} </span>) }
|
|
|
+ </div>
|
|
|
+ }
|
|
|
<div className="bg-black"></div>
|
|
|
<div className="event-picture">
|
|
|
<img src={imgSrc} alt={title} />
|