Call optionsChanged when props options have changed (#47031)

This commit is contained in:
Adela Almasan
2022-03-30 11:15:42 -05:00
committed by GitHub
parent 18862a22a6
commit 851c54b3b1
@@ -112,6 +112,11 @@ export class GeomapPanel extends Component<Props, State> {
this.dataChanged(nextProps.data);
}
// Options changed
if (this.props.options !== nextProps.options) {
this.optionsChanged(nextProps.options);
}
return true; // always?
}