diff --git a/ppr-ui/src/views/mhrInformation/MhrInformation.vue b/ppr-ui/src/views/mhrInformation/MhrInformation.vue index b13b9cecd..7f4340e06 100644 --- a/ppr-ui/src/views/mhrInformation/MhrInformation.vue +++ b/ppr-ui/src/views/mhrInformation/MhrInformation.vue @@ -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 (