Skip to content

Commit

Permalink
Hackaround for å at ikke alt telles som event med poster
Browse files Browse the repository at this point in the history
  • Loading branch information
MathiasSJacobsen committed Nov 17, 2020
1 parent e09d7d9 commit 5d7d26b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Frontend/Mainscreen/Event.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const Event = ({ data, group }) => {
)}
{/***********************************/}

{ open && posts && (
{ open && posts?.length > 1 && (
<div className="sub-event-wrapper">
{ postsWithTime.map( e => <Posts key={e.id} post={e} lang={lang}/>) }
</div>
Expand Down

0 comments on commit 5d7d26b

Please sign in to comment.