Skip to content

Commit

Permalink
fix: preload preparers in sub detail (#1284)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredgalanis authored Jul 10, 2024
1 parent 6f27814 commit a4825ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/submissions/detail.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default class DetailRoute extends CheckSessionRoute {
});

const sub = await this.store.findRecord('submission', params.submission_id, {
include: 'publication.journal,repositories',
include: 'publication.journal,repositories,preparers',
});
const publication = await sub.get('publication');
const repoCopies = await this.store.query('repositoryCopy', {
Expand Down

0 comments on commit a4825ba

Please sign in to comment.