Skip to content

Commit

Permalink
oculto album si no hay imagenes
Browse files Browse the repository at this point in the history
  • Loading branch information
mpvaldez committed Jul 10, 2023
1 parent 8a067dd commit 20412a9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ext/lib/site/topic-layout/topic-article-idea/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,9 @@ class TopicArticle extends Component {
</p>
)
}
<div className="topic-article-content">

{
topic.extra && topic.extra.album && topic.extra.album.length > 0 && <div className="topic-article-content">
<div className='topic-article-album'>
<h3>Album de imágenes</h3>
{
Expand Down Expand Up @@ -353,6 +355,9 @@ class TopicArticle extends Component {
</div>
</div>
</div>
}


{
!user.state.pending && !isProyecto && <Comments forum={forum} topic={topic} />
}
Expand Down

0 comments on commit 20412a9

Please sign in to comment.