Skip to content

Commit

Permalink
fix: include publication and journal in submission fetch on revisit s…
Browse files Browse the repository at this point in the history
…ub workflow with sub id as query param
  • Loading branch information
jaredgalanis committed Jun 28, 2024
1 parent 6efb7b0 commit ff8e92c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/submissions/new.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default class NewRoute extends CheckSessionRoute {
if (params.submission) {
// Operating on existing submission

newSubmission = await this.store.findRecord('submission', params.submission);
newSubmission = await this.store.findRecord('submission', params.submission, { include: 'publication.journal' });
publication = await newSubmission.get('publication');
journal = publication.get('journal');

Expand Down

0 comments on commit ff8e92c

Please sign in to comment.