Skip to content

Commit

Permalink
Merge pull request #262 from ORNL-AMO/hotfix
Browse files Browse the repository at this point in the history
Fix wrong arg type from undetected merge conf
  • Loading branch information
nbintertech authored Mar 13, 2024
2 parents bdd1c91 + ec2c5c9 commit 9076e81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/EndGameReport/EndGameReportPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function EndGameReport(props: ReportProps) {
let isFinanced = implementationFinancing.financingType.id !== 'budget';
let financingData: ImplementedFinancingData = {
option: implementationFinancing,
isPaidOff: isFinanced ? isProjectFullyFunded(project, props.mutableStats.currentGameYear) : false,
isPaidOff: isFinanced ? isProjectFullyFunded(project, props.mutableStats) : false,
isFinanced: isFinanced,

}
Expand Down
2 changes: 1 addition & 1 deletion src/components/YearRecap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ export class YearRecap extends React.Component<YearRecapProps, { inView }> {
}
if (financingData.isFinanced) {
let financedProject = projects.find(project => project.page === implementedProject.pageId);
financingData.isPaidOff = isProjectFullyFunded(financedProject, mutableStats.currentGameYear);
financingData.isPaidOff = isProjectFullyFunded(financedProject, mutableStats);
}
recapResults.projectRecapCards.push(
getProjectCardWithGauges(
Expand Down

0 comments on commit 9076e81

Please sign in to comment.