We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b4a2e2 commit a4387caCopy full SHA for a4387ca
app/preprints/detail/controller.ts
@@ -153,7 +153,7 @@ export default class PrePrintsDetailController extends Controller {
153
}
154
155
get showOSFBanner(): boolean {
156
- return this.model.provider.id === 'osf';
+ return this.model.provider.id === config.defaultProvider;
157
158
159
get showStatusBanner(): boolean {
app/preprints/detail/template.hbs
@@ -113,7 +113,7 @@
113
<Preprints::-Components::PreprintStatusBanner
114
@submission={{this.model.preprint}}
115
@provider={{this.model.provider}}
116
- @isOSFBanner=true
+ @isOSFBanner={{true}}
117
/>
118
{{/if}}
119
<div local-class='data-container'>
0 commit comments