From 704781b1bf1fcb1245e2d1580fa1555c5727b18e Mon Sep 17 00:00:00 2001 From: Jared Galanis Date: Wed, 10 Jul 2024 10:12:43 -0400 Subject: [PATCH] fix: preload preparers in sub detail --- app/routes/submissions/detail.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routes/submissions/detail.js b/app/routes/submissions/detail.js index b3c93f44..f9b9d2f3 100644 --- a/app/routes/submissions/detail.js +++ b/app/routes/submissions/detail.js @@ -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', {