diff --git a/src/components/parking/ParkingView.tsx b/src/components/parking/ParkingView.tsx index e7afa93..2aca10a 100644 --- a/src/components/parking/ParkingView.tsx +++ b/src/components/parking/ParkingView.tsx @@ -122,6 +122,10 @@ const ParkingView = ({ ) : null} + {parkingdata?.Description &&

+ {parkingdata?.Description} +

} +
diff --git a/src/components/parking/ParkingViewServices.tsx b/src/components/parking/ParkingViewServices.tsx index 815f5d3..076a9dd 100644 --- a/src/components/parking/ParkingViewServices.tsx +++ b/src/components/parking/ParkingViewServices.tsx @@ -53,6 +53,13 @@ const ParkingViewServices = ({ parkingdata }: { parkingdata: any }) => { ); })}
+ {parkingdata.ExtraServices && <> + {parkingdata.ExtraServices.split(',').map(x => { + return
+ {x.trim()} +
+ })} + } diff --git a/src/types/index.ts b/src/types/index.ts index b243228..b319004 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -35,6 +35,7 @@ export type ParkingDetailsType = { Plaats: string, Type: string, SiteID: string, + Description: string; Image: any; Open_ma: Date, Dicht_ma: Date,