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.
2 parents 8216829 + 438fee8 commit 53ea45eCopy full SHA for 53ea45e
app/preprints/select/route.ts
@@ -11,10 +11,11 @@ export default class PreprintSelectRoute extends Route {
11
@service store!: Store;
12
@service theme!: Theme;
13
14
- async model(){
15
- const submissionProviders: PreprintProviderModel[] = await this.store.findAll('preprint-provider', {
16
- reload: true,
17
- adapterOptions: { 'filter[allowSubmissions]': 'true' },
+ async model() {
+ const submissionProviders: PreprintProviderModel[] = await this.store.query('preprint-provider', {
+ filter: {
+ allow_submissions: true,
18
+ },
19
});
20
21
this.theme.set('id', config.defaultProvider);
0 commit comments