diff --git a/ppr-ui/package-lock.json b/ppr-ui/package-lock.json index 07780c981..0aaab1be2 100644 --- a/ppr-ui/package-lock.json +++ b/ppr-ui/package-lock.json @@ -1,12 +1,12 @@ { "name": "ppr-ui", - "version": "3.2.0", + "version": "3.2.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ppr-ui", - "version": "3.2.0", + "version": "3.2.1", "dependencies": { "@bcrs-shared-components/input-field-date-picker": "^1.0.0", "@lemoncode/fonk": "^1.5.1", diff --git a/ppr-ui/package.json b/ppr-ui/package.json index d7e39bb6d..2dc234685 100644 --- a/ppr-ui/package.json +++ b/ppr-ui/package.json @@ -1,6 +1,6 @@ { "name": "ppr-ui", - "version": "3.2.0", + "version": "3.2.1", "private": true, "appName": "Assets UI", "sbcName": "SBC Common Components", diff --git a/ppr-ui/src/composables/mhrRegistration/useMhrCorrections.ts b/ppr-ui/src/composables/mhrRegistration/useMhrCorrections.ts index 40f4ef0b3..ad737259d 100755 --- a/ppr-ui/src/composables/mhrRegistration/useMhrCorrections.ts +++ b/ppr-ui/src/composables/mhrRegistration/useMhrCorrections.ts @@ -339,7 +339,13 @@ export const useMhrCorrections = () => { status: getMhrStatusType.value }), ...(getCorrectionsList().some(value => descriptionGroup.includes(value)) && { - description: mhrState.description + description: { + ...mhrState.description, + baseInformation: { + ...mhrState.description.baseInformation, + year: Number(mhrState.description.baseInformation.year) // Cast to number to support legacy strings + } + } }), ...(getCorrectionsList().includes('ownerGroups') && { addOwnerGroups: mhrState.ownerGroups