Skip to content

Commit 8839c88

Browse files
committed
not show the links if supplemental node is private (#2078)
1 parent 374cba3 commit 8839c88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/preprints/detail/template.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
</SharingIcons>
154154
</div>
155155
<Preprints::-Components::PreprintAbstract @preprint={{this.model.preprint}} />
156-
{{#if this.model.preprint.node}}
156+
{{#if this.model.preprint.node.links}}
157157
<div>
158158
<h4>{{t 'preprints.detail.supplemental_materials'}}</h4>
159159
<OsfLink

0 commit comments

Comments
 (0)