Restructure layers and clean up deps

This commit is contained in:
lukasmartinelli
2016-09-10 14:10:25 +02:00
parent e0a8b0a8e9
commit d527f3cd1c
10 changed files with 283 additions and 274 deletions

View File

@@ -1,5 +1,5 @@
import React from 'react'
import { LayerEditor } from './layers.jsx'
import { LayerList } from './layers/list.jsx'
import { SettingsEditor } from './settings.jsx'
import theme from './theme.js'
@@ -21,7 +21,7 @@ export class WorkspaceDrawer extends React.Component {
let workspaceContent = null
if(this.props.workContext === "layers") {
workspaceContent = <LayerEditor
workspaceContent = <LayerList
onLayersChanged={this.onLayersChanged.bind(this)}
layers={this.props.mapStyle.get('layers')}
/>