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 Gavrilman committed Jan 16, 2024
1 parent cddb650 commit 7c9c539
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,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 7c9c539

Please sign in to comment.