mirror of
https://github.com/maputnik/editor.git
synced 2026-01-09 06:50:00 +00:00
Issue #380 - fix for data functions
This commit is contained in:
@@ -28,7 +28,7 @@ export default class FunctionButtons extends React.Component {
|
||||
/>
|
||||
</Button>
|
||||
|
||||
if (this.props.fieldSpec['property-function'] && ['piecewise-constant', 'interpolated'].indexOf(this.props.fieldSpec['function']) !== -1) {
|
||||
if (this.props.fieldSpec['property-type'] === 'data-driven') {
|
||||
makeDataButton = <Button
|
||||
className="maputnik-make-data-function"
|
||||
onClick={this.props.onDataClick}
|
||||
|
||||
Reference in New Issue
Block a user