Skip to content

Commit

Permalink
Merge pull request #2004 from flutistar/16198-wrong-registration-numb…
Browse files Browse the repository at this point in the history
…er-on-trasfer-modal

fixed error on transfer pop up modal
  • Loading branch information
flutistar authored Aug 20, 2024
2 parents a721f62 + 8b79ca6 commit 84efde9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ppr-ui/src/views/mhrInformation/MhrInformation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -941,9 +941,11 @@ export default defineComponent({
hasActiveExemption: computed((): boolean => !!getActiveExemption() ||
getMhrInformation.value.statusType === MhApiStatusTypes.EXEMPT),
transferRequiredDialogOptions: computed((): DialogOptionsIF => {
transferRequiredDialog.text =
transferRequiredDialog.text.replace('mhr_number', getMhrInformation.value.mhrNumber)
return transferRequiredDialog
const textArray = transferRequiredDialog.text.split(' mhr_number')
return {
...transferRequiredDialog,
text: `${textArray[0]} ${getMhrInformation.value.mhrNumber} ${textArray[1]}`
}
}),
hasTransferChanges: computed((): boolean => {
return (
Expand Down

0 comments on commit 84efde9

Please sign in to comment.