Skip to content

Commit a455d36

Browse files
committed
Merge remote-tracking branch 'origin/dev' into 61-add-slider-to-graphs-to-filter-graph-results
2 parents 0c64ef4 + 7735370 commit a455d36

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/components/map/AccidentPopUp.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -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
);

src/stores/filter/GroupBy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export const initGroupMap = () => {
6161
map.set('lca', new GroupBy('LocationAccuracy', 'lca'))
6262
map.set('city', new GroupBy('City', 'city', 20, 'd'));
6363
map.set('cpop', new GroupBy('CityByPop', 'cpop'));
64-
map.set('st', new GroupBy('Street', 'st', 30, 'd'));
64+
map.set('st', new GroupBy('Street', 'st', 40, 'd'));
6565
map.set('rd', new GroupBy('Road', 'rd', 20, 'd'));
6666
map.set('acc', new GroupBy('AccidentType', 'acc',0,'d'));
6767
map.set('selfacc', new GroupBy('SelfOrNotAcc', 'selfacc', 0, null, reGroupResultIsSelfAcc));

0 commit comments

Comments
 (0)