Update sources if they change

This commit is contained in:
Lukas Martinelli
2016-12-29 15:22:47 +01:00
parent bf5131cadd
commit 29cfb58a56
7 changed files with 46 additions and 13 deletions

View File

@@ -169,7 +169,6 @@ export default class LayerEditor extends React.Component {
}
render() {
console.log(this.props)
const layerType = this.props.layer.type
const layoutGroups = layout[layerType].groups.filter(group => {
return !(this.props.layer.type === 'background' && group.type === 'source')