Skip to content

Commit

Permalink
fixed error on transfer pop up modal
Browse files Browse the repository at this point in the history
  • Loading branch information
flutistar committed Aug 20, 2024
1 parent 5493cca commit 8b79ca6
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 @@ -942,9 +942,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 8b79ca6

Please sign in to comment.