diff --git a/source/frontend/src/features/mapSideBar/property/tabs/takes/detail/TakesDetailView.test.tsx b/source/frontend/src/features/mapSideBar/property/tabs/takes/detail/TakesDetailView.test.tsx index 88088b344c..48043d5983 100644 --- a/source/frontend/src/features/mapSideBar/property/tabs/takes/detail/TakesDetailView.test.tsx +++ b/source/frontend/src/features/mapSideBar/property/tabs/takes/detail/TakesDetailView.test.tsx @@ -146,7 +146,7 @@ describe('TakesDetailView component', () => { ], }, }); - const date = await findByText('Is there Land Act-Reserve(s)/Withdrawal(s)/Notation(s)', { + const date = await findByText('Is a there a new Land Act tenure', { exact: false, }); expect(date).toBeVisible(); diff --git a/source/frontend/src/features/mapSideBar/property/tabs/takes/detail/TakesDetailView.tsx b/source/frontend/src/features/mapSideBar/property/tabs/takes/detail/TakesDetailView.tsx index 43879a5d0e..cffc52b174 100644 --- a/source/frontend/src/features/mapSideBar/property/tabs/takes/detail/TakesDetailView.tsx +++ b/source/frontend/src/features/mapSideBar/property/tabs/takes/detail/TakesDetailView.tsx @@ -61,7 +61,7 @@ export const TakesDetailView: React.FunctionComponent = ( {takes?.length ?? 0} @@ -99,7 +99,11 @@ export const TakesDetailView: React.FunctionComponent = ( - + {take.isNewRightOfWay && ( @@ -109,7 +113,10 @@ export const TakesDetailView: React.FunctionComponent = ( )} - + = ( )} - + {take.isLandAct && ( @@ -150,7 +154,10 @@ export const TakesDetailView: React.FunctionComponent = ( )} - +