Skip to content

Commit

Permalink
not show the links if supplemental node is private (CenterForOpenScie…
Browse files Browse the repository at this point in the history
  • Loading branch information
adlius authored and bp-cos committed Jan 31, 2024
1 parent 475ca37 commit 4cc9870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/preprints/detail/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@
</SharingIcons>
</div>
<Preprints::-Components::PreprintAbstract @preprint={{this.model.preprint}} />
{{#if this.model.preprint.node}}
{{#if this.model.preprint.node.links}}
<div>
<h4>{{t 'preprints.detail.supplemental_materials'}}</h4>
<OsfLink
Expand Down

0 comments on commit 4cc9870

Please sign in to comment.