@@ -18,21 +18,21 @@ const AccidentsPopUp: React.FC<IProps> = (({ data: x, language }) => {
1818 if ( x . injured_type_hebrew !== undefined ) {
1919 return (
2020 < Popup >
21- < div className = { `text${ language } ` } >
22- < div > < span style = { pStyle } > { t ( 'When' ) } :</ span > { x . accident_timestamp . slice ( 0 , 16 ) } , { x . day_in_week_hebrew } , { x . day_night_hebrew } </ div >
23- < div > < span style = { pStyle } > { t ( 'Who' ) } :</ span > { x . injured_type_hebrew } , { x . injury_severity_hebrew } , { x . vehicle_vehicle_type_hebrew ? `${ x . vehicle_vehicle_type_hebrew } , ` : '' } { x . sex_hebrew } , { x . age_group_hebrew } , { x . population_type_hebrew } </ div >
24- < div > < span style = { pStyle } > { t ( 'Where' ) } :</ span >
21+ < div style = { { fontSize : '16px' } } className = { `text${ language } ` } >
22+ < div > < span style = { pStyle } > { t ( 'When' ) } : </ span > { x . accident_timestamp . slice ( 0 , 16 ) } , { x . day_in_week_hebrew } , { x . day_night_hebrew } </ div >
23+ < div > < span style = { pStyle } > { t ( 'Who' ) } : </ span > { x . injured_type_hebrew } , { x . injury_severity_hebrew } , { x . vehicle_vehicle_type_hebrew ? `${ x . vehicle_vehicle_type_hebrew } , ` : '' } { x . sex_hebrew } , { x . age_group_hebrew } , { x . population_type_hebrew } </ div >
24+ < div > < span style = { pStyle } > { t ( 'Where' ) } : </ span >
2525 { x . accident_yishuv_name ? `${ x . accident_yishuv_name } , ` : '' }
2626 { x . street1_hebrew ? `${ x . street1_hebrew } , ` : '' }
2727 { x . street2_hebrew ? `${ x . street2_hebrew } , ` : '' }
2828 { x . road1 ? `${ t ( 'Road' ) } ${ x . road1 } , ` : '' }
2929 { x . road2 ? `${ x . road2 } , ` : '' }
3030 { x . road_segment_name ? `${ x . road_segment_name } , ` : '' }
3131 { x . road_type_hebrew }
32- { x . location_accuracy_hebrew ? ` (${ x . location_accuracy_hebrew } )` : '' }
32+ { x . location_accuracy_hebrew ? ` (${ x . location_accuracy_hebrew } )` : '' }
3333 </ div >
34- < div > < span style = { pStyle } > { t ( 'What' ) } :</ span > { x . accident_type_hebrew } ({ x . vehicles } )</ div >
35- < div > < span style = { pStyle } > { t ( 'WhatRoad' ) } :</ span > { x . speed_limit_hebrew ? `${ x . speed_limit_hebrew } , ` : '' } { x . multi_lane_hebrew ? `${ x . multi_lane_hebrew } , ` : '' } { x . one_lane_hebrew ? `${ x . one_lane_hebrew } , ` : '' } { x . road_width_hebrew ? `${ x . road_width_hebrew } ` : '' } </ div >
34+ < div > < span style = { pStyle } > { t ( 'What' ) } : </ span > { x . accident_type_hebrew } ({ x . vehicles } )</ div >
35+ < div > < span style = { pStyle } > { t ( 'WhatRoad' ) } : </ span > { x . speed_limit_hebrew ? `${ x . speed_limit_hebrew } , ` : '' } { x . multi_lane_hebrew ? `${ x . multi_lane_hebrew } , ` : '' } { x . one_lane_hebrew ? `${ x . one_lane_hebrew } , ` : '' } { x . road_width_hebrew ? `${ x . road_width_hebrew } ` : '' } </ div >
3636 </ div >
3737 </ Popup >
3838 ) ;
0 commit comments