mirror of
https://github.com/maputnik/editor.git
synced 2026-05-05 07:40:02 +00:00
Only show 'switch to layer' button if layer not already selected.
This commit is contained in:
@@ -732,6 +732,7 @@ export default class App extends React.Component {
|
||||
/> : null
|
||||
|
||||
const bottomPanel = (this.state.errors.length + this.state.infos.length) > 0 ? <MessagePanel
|
||||
currentLayer={selectedLayer}
|
||||
onLayerSelect={this.onLayerSelect}
|
||||
mapStyle={this.state.mapStyle}
|
||||
errors={this.state.errors}
|
||||
|
||||
Reference in New Issue
Block a user