Skip to content

Commit

Permalink
hide prop images for comment permalinks (#938)
Browse files Browse the repository at this point in the history
  • Loading branch information
crypto-rizzo authored and tiagoalvesdulce committed Dec 10, 2018
1 parent 628502c commit c0f5b97
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/snew/ThingLink.js
Expand Up @@ -370,7 +370,9 @@ class ThingLinkComp extends React.Component {
compressIcon: ToggleIcon("compress", this.hanldeExpandToggle)
}}
/>
<ProposalImages readOnly files={otherFiles} />
{this.state.expanded && (
<ProposalImages readOnly files={otherFiles} />
)}
{enableAdminActionsForUnvetted ? (
<ul style={{ display: "flex" }}>
<li key="spam">
Expand Down

0 comments on commit c0f5b97

Please sign in to comment.