mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2025-01-14 05:53:31 +01:00
Fixed data functions.
This commit is contained in:
parent
67bdea1827
commit
a46c834874
1 changed files with 2 additions and 2 deletions
|
@ -278,8 +278,8 @@ export default class FieldFunction extends React.Component {
|
||||||
this.props.onChange(this.props.fieldName, expression);
|
this.props.onChange(this.props.fieldName, expression);
|
||||||
}
|
}
|
||||||
|
|
||||||
makeDataFunction = (functionType) => {
|
makeDataFunction = () => {
|
||||||
functionType = functionType || this.getFieldFunctionType(this.props.fieldSpec);
|
const functionType = this.getFieldFunctionType(this.props.fieldSpec);
|
||||||
const stopValue = functionType === 'categorical' ? '' : 0;
|
const stopValue = functionType === 'categorical' ? '' : 0;
|
||||||
const {value} = this.props;
|
const {value} = this.props;
|
||||||
let dataFunc;
|
let dataFunc;
|
||||||
|
|
Loading…
Reference in a new issue