diff --git a/ppr-ui/package.json b/ppr-ui/package.json index 8b60fdf0c..24c633fe2 100644 --- a/ppr-ui/package.json +++ b/ppr-ui/package.json @@ -1,6 +1,6 @@ { "name": "ppr-ui", - "version": "6.0.8", + "version": "6.0.9", "private": true, "appName": "Assets UI", "connectLayerName": "Core UI", diff --git a/ppr-ui/src/resources/transferTypes.ts b/ppr-ui/src/resources/transferTypes.ts index 2c8d9a784..0aa45b61c 100644 --- a/ppr-ui/src/resources/transferTypes.ts +++ b/ppr-ui/src/resources/transferTypes.ts @@ -416,9 +416,17 @@ export const ClientTransferTypes: Array = [ } ] +const toDTypesForLawyersAndQSNotary: Array = (() => { + const header = transferDueToDeathTypes[0] + const survivingJointTenant = transferDueToDeathTypes.find( + type => type.transferType === ApiTransferTypes.SURVIVING_JOINT_TENANT + ) + return survivingJointTenant ? [header, survivingJointTenant] : [header] +})() + export const QualifiedSupplierTransferTypes = (): Array => { return [ ...ClientTransferTypes, - ...(getFeatureFlag('mhr-transfer-enable-tod') ? transferDueToDeathTypes : []) + ...(getFeatureFlag('mhr-transfer-enable-tod') ? transferDueToDeathTypes : toDTypesForLawyersAndQSNotary) ] }