Skip to content

Commit

Permalink
fixed classYear disappearing bug on refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelchadwick committed Oct 10, 2024
1 parent a9c7d0c commit b0f0e0b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/frontend/app/services/reporting.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ export default class ReportingService extends Service {
} else if (model === 'program-year') {
const program = await record.program;
const title = program.title;
object = `${record.classOfYear} ${title}`;
const classOfYear = await record.getClassOfYear();
object = `${classOfYear} ${title}`;
} else {
object = record.title;
}
Expand Down

0 comments on commit b0f0e0b

Please sign in to comment.