onaio / gisida

JavaScript library that converts MapSpec layers to beautiful, interactive maps using Mapbox GL
http://gisida.onalabs.org/
Apache License 2.0
10 stars 3 forks source link

Have the redundant hasNavBar prop set when configuring map and data view to be set once in site-config.json #476

Open kelvin-muchiri opened 4 years ago

kelvin-muchiri commented 4 years ago

When configuring map and data view, the hasNavBar boolean prop is required to be set for a couple of the components in the client's index.js. The prop is essential to control the styling for some sections depending on whether the nav bar is present or not. Instead of having this prop set these components, a better implementation would be to have the property set in the site-config.json file