diff --git a/source/frontend/src/features/leases/detail/LeasePages/details/PropertyInformation.tsx b/source/frontend/src/features/leases/detail/LeasePages/details/PropertyInformation.tsx index 493d510926..696b991f0f 100644 --- a/source/frontend/src/features/leases/detail/LeasePages/details/PropertyInformation.tsx +++ b/source/frontend/src/features/leases/detail/LeasePages/details/PropertyInformation.tsx @@ -32,9 +32,11 @@ export const PropertyInformation: React.FunctionComponent< ); const pid = getIn(formikProps.values, withNameSpace(nameSpace, 'property.pid')); const pidText = pid ? `PID: ${pidFormatter(pid)}` : ''; - const legalPidText = [legalDescription, pidText].filter(x => x).join(' '); return ( + + {pidText} + @@ -57,7 +59,7 @@ export const PropertyInformation: React.FunctionComponent< ) : null} - {legalPidText} + {legalDescription}
diff --git a/source/frontend/src/features/leases/detail/LeasePages/details/__snapshots__/PropertiesInformation.test.tsx.snap b/source/frontend/src/features/leases/detail/LeasePages/details/__snapshots__/PropertiesInformation.test.tsx.snap index cf5f20c200..6e3e927aa8 100644 --- a/source/frontend/src/features/leases/detail/LeasePages/details/__snapshots__/PropertiesInformation.test.tsx.snap +++ b/source/frontend/src/features/leases/detail/LeasePages/details/__snapshots__/PropertiesInformation.test.tsx.snap @@ -95,6 +95,22 @@ exports[`PropertiesInformation component renders as expected 1`] = `
+
+
+ +
+
+
diff --git a/source/frontend/src/features/leases/detail/LeasePages/details/__snapshots__/PropertyInformation.test.tsx.snap b/source/frontend/src/features/leases/detail/LeasePages/details/__snapshots__/PropertyInformation.test.tsx.snap index 28afc09736..d2a9b55a88 100644 --- a/source/frontend/src/features/leases/detail/LeasePages/details/__snapshots__/PropertyInformation.test.tsx.snap +++ b/source/frontend/src/features/leases/detail/LeasePages/details/__snapshots__/PropertyInformation.test.tsx.snap @@ -32,6 +32,22 @@ exports[`PropertyInformation component renders a complete lease as expected 1`]
+
+
+ +
+
+
@@ -160,6 +176,22 @@ exports[`PropertyInformation component renders minimally as expected 1`] = `
+
+
+ +
+
+