mirror of
https://github.com/maputnik/editor.git
synced 2026-01-06 13:30:03 +00:00
Remove logging and force OL3 to redraw
This commit is contained in:
@@ -195,7 +195,11 @@ class SourcesModal extends React.Component {
|
||||
render() {
|
||||
const activeSources = Object.keys(this.props.mapStyle.sources).map(sourceId => {
|
||||
const source = this.props.mapStyle.sources[sourceId]
|
||||
return <SourceEditorLayout sourceId={sourceId} source={source} />
|
||||
return <SourceEditorLayout
|
||||
key={sourceId}
|
||||
sourceId={sourceId}
|
||||
source={source}
|
||||
/>
|
||||
})
|
||||
|
||||
const tilesetOptions = publicSources.filter(source => !(source.id in this.props.mapStyle.sources)).map(source => {
|
||||
|
||||
Reference in New Issue
Block a user