Skip to content

Commit 53ea45e

Browse files
committed
Merge branch 'hotfix/24.05.1'
2 parents 8216829 + 438fee8 commit 53ea45e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

app/preprints/select/route.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@ export default class PreprintSelectRoute extends Route {
1111
@service store!: Store;
1212
@service theme!: Theme;
1313

14-
async model(){
15-
const submissionProviders: PreprintProviderModel[] = await this.store.findAll('preprint-provider', {
16-
reload: true,
17-
adapterOptions: { 'filter[allowSubmissions]': 'true' },
14+
async model() {
15+
const submissionProviders: PreprintProviderModel[] = await this.store.query('preprint-provider', {
16+
filter: {
17+
allow_submissions: true,
18+
},
1819
});
1920

2021
this.theme.set('id', config.defaultProvider);

0 commit comments

Comments
 (0)