mirror of
https://github.com/maputnik/editor.git
synced 2026-01-02 11:30:00 +00:00
Upgrade style spec to version used in renderer
This commit is contained in:
@@ -132,7 +132,6 @@ export class LayerEditor extends React.Component {
|
||||
visibleIcon = <MdVisibility />
|
||||
}
|
||||
|
||||
console.log(this.props.layer.toJSON())
|
||||
return <div style={{
|
||||
padding: theme.scale[0],
|
||||
}}>
|
||||
@@ -149,7 +148,7 @@ export class LayerEditor extends React.Component {
|
||||
</NavItem>
|
||||
</Toolbar>
|
||||
<FilterEditor
|
||||
filter={this.props.layer.get('filter').toJSON()}
|
||||
filter={this.props.layer.get('filter', Immutable.List()).toJSON()}
|
||||
onFilterChanged={console.log}
|
||||
/>
|
||||
{this.props.layer.get('type') !== 'background' && <SourceEditor
|
||||
|
||||
Reference in New Issue
Block a user