diff --git a/src/components/layers/LayerSourceLayerBlock.jsx b/src/components/layers/LayerSourceLayerBlock.jsx index 838ffd7..d8b898d 100644 --- a/src/components/layers/LayerSourceLayerBlock.jsx +++ b/src/components/layers/LayerSourceLayerBlock.jsx @@ -12,17 +12,19 @@ class LayerSourceLayer extends React.Component { value: PropTypes.string, onChange: PropTypes.func, sourceLayerIds: PropTypes.array, + isFixed: PropTypes.bool, } static defaultProps = { onChange: () => {}, sourceLayerIds: [], + isFixed: false } render() { return [l, l])} diff --git a/src/components/modals/AddModal.jsx b/src/components/modals/AddModal.jsx index ab4a6de..bb30a7c 100644 --- a/src/components/modals/AddModal.jsx +++ b/src/components/modals/AddModal.jsx @@ -127,6 +127,7 @@ class AddModal extends React.Component { } {this.state.type !== 'background' && this.state.type !== 'raster' && this.setState({ 'source-layer': v })}