Skip to content

Commit 4faa4f3

Browse files
authored
Merge pull request #109 from Bostads-AB-Mimer/feature/uth-251-update-onecore-types-version-frontend
UTH- 251: fix typo in residentialAreaCaption
2 parents 1ed5404 + 9a94b59 commit 4faa4f3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/frontend/src/pages/ParkingSpace/components/ParkingSpaceInfo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export const ParkingSpaceInfo = (props: { listingId: number }) => {
8080
<Typography>Område</Typography>
8181
<Box>
8282
<Typography fontWeight="bold">
83-
{parkingSpaceListing.rentalObject.restidentalAreaCaption}
83+
{parkingSpaceListing.rentalObject.residentialAreaCaption}
8484
</Typography>
8585
</Box>
8686
</Box>

packages/frontend/src/pages/ParkingSpaces/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,11 +290,11 @@ const getColumns = (
290290
valueGetter: (params) => params.row.rentalObject?.districtCaption ?? '',
291291
},
292292
{
293-
field: 'restidentalAreaCaption',
293+
field: 'residentialAreaCaption',
294294
headerName: 'Område',
295295
...sharedColumnProps,
296296
valueGetter: (params) =>
297-
params.row.rentalObject?.restidentalAreaCaption ?? '',
297+
params.row.rentalObject?.residentialAreaCaption ?? '',
298298
},
299299
{
300300
field: 'objectTypeCaption',

0 commit comments

Comments
 (0)