File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -152,12 +152,14 @@ class MapOptions extends React.PureComponent {
152152 ) ) }
153153 </ select >
154154 </ section >
155- < section className = "cmap-filter-type-section cmap-pb3 mt3" >
156- < h6 className = "txt-bold" > Filter map style by date</ h6 >
157- < div className = "mt6" >
158- < HistoricalDateSlider handleDateChange = { handleDateChange } />
159- </ div >
160- </ section >
155+ { this . props . style === 'ohm' ? (
156+ < section className = "cmap-filter-type-section cmap-pb3" >
157+ < h6 className = "txt-bold" > Filter map style by date</ h6 >
158+ < div className = "mt6" >
159+ < HistoricalDateSlider handleDateChange = { handleDateChange } />
160+ </ div >
161+ </ section >
162+ ) : null }
161163 </ div >
162164 ) ;
163165 }
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export const appVersion = pkg.version;
1010
1111let url =
1212 process . env . REACT_APP_PRODUCTION_API_URL ||
13- 'https://osmcha.dev.staging. openhistoricalmap.org/api/v1' ;
13+ 'https://osmcha.openhistoricalmap.org/api/v1' ;
1414
1515window . debug_info = ( ) =>
1616 `isDev=${ isDev . toString ( ) } isStaging=${ isStaging . toString ( ) } isProd=${ isProd . toString ( ) } isLocal=${ isLocal . toString ( ) } stack=${ stack ||
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { MAPCONTROLS } from './map_controls_actions';
66export type mapControlsReducerType = Map < 'style' , any > ;
77
88const mapControlsInitial : mapControlsReducerType = fromJS ( {
9- style : 'ohm_historical '
9+ style : 'ohm '
1010} ) ;
1111
1212export function mapControlsReducer (
You can’t perform that action at this time.
0 commit comments