Hide 'Click...' notice on front page

This commit is contained in:
Tom Russell 2019-01-19 19:19:00 +00:00
parent 8e7eea1369
commit 8c6a86bbec

View File

@ -124,7 +124,7 @@ class ColouringMap extends Component {
<AttributionControl prefix="" /> <AttributionControl prefix="" />
</Map> </Map>
{ {
!is_building? ( !is_building && this.props.match.url !== '/'? (
<div class="map-notice"> <div class="map-notice">
<HelpIcon /> {is_edit? 'Click a building to edit' : 'Click a building for details'} <HelpIcon /> {is_edit? 'Click a building to edit' : 'Click a building for details'}
</div> </div>