Skip to content

Commit

Permalink
Show extra parking services in ParkingView
Browse files Browse the repository at this point in the history
  • Loading branch information
bartwr committed Apr 3, 2024
1 parent 926d786 commit 1f83d56
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/components/parking/ParkingViewServices.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,15 @@ const ParkingViewServices = ({ parkingdata }: { parkingdata: any }) => {
</div>
);
})}
{(parkingdata && parkingdata.ExtraServices) && <>
{parkingdata.ExtraServices.split(', ').map((service: string) => {
return (
<div key={service}>
{service}
</div>
);
})}
</>}
</div>
</SectionBlock>
<HorizontalDivider className="my-4" />
Expand Down

0 comments on commit 1f83d56

Please sign in to comment.