Skip to content

Commit

Permalink
Revert "point csra link to old history page (#314)" (#318)
Browse files Browse the repository at this point in the history
This reverts commit db5088a.
  • Loading branch information
whitfield-mj authored Oct 11, 2023
1 parent 92f5470 commit 24d9ef0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions server/mappers/headerMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ export function mapProfileBannerTopLinks(prisonerData: Prisoner, inmateDetail: I
hiddenLabel: 'View CSRA history',
info: prisonerData.csra ? prisonerData.csra : 'Not entered',
classes: '',
url: !belongsToCaseLoad
? undefined
: `${config.serviceUrls.digitalPrison}/prisoner/${prisonerData.prisonerNumber}/csra-history`,
url: !belongsToCaseLoad ? undefined : `/prisoner/${prisonerData.prisonerNumber}/csra-history`,
})
profileBannerTopLinks.push({
heading: 'Incentive level',
Expand Down

0 comments on commit 24d9ef0

Please sign in to comment.