Skip to content

Commit

Permalink
Fix program id retrieval when sharing
Browse files Browse the repository at this point in the history
  • Loading branch information
Anna Gavrilman authored and Anna committed Jan 19, 2024
1 parent e59c750 commit c0527a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export class LearnerRecordsPage extends React.Component<Props, State> {
}

getOnlyProgramId() {
return parseInt(this.props.match.params.program.length)
return parseInt(this.props.match.params.program)
}

// Renders program's courses table.
Expand Down

0 comments on commit c0527a4

Please sign in to comment.