Skip to content

Commit a4387ca

Browse files
committed
Updates for the PR
1 parent 7b4a2e2 commit a4387ca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/preprints/detail/controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export default class PrePrintsDetailController extends Controller {
153153
}
154154

155155
get showOSFBanner(): boolean {
156-
return this.model.provider.id === 'osf';
156+
return this.model.provider.id === config.defaultProvider;
157157
}
158158

159159
get showStatusBanner(): boolean {

app/preprints/detail/template.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
<Preprints::-Components::PreprintStatusBanner
114114
@submission={{this.model.preprint}}
115115
@provider={{this.model.provider}}
116-
@isOSFBanner=true
116+
@isOSFBanner={{true}}
117117
/>
118118
{{/if}}
119119
<div local-class='data-container'>

0 commit comments

Comments
 (0)