rusackas commented on code in PR #42126:
URL: https://github.com/apache/superset/pull/42126#discussion_r3601970964
##########
superset-frontend/plugins/preset-chart-deckgl/src/layers/Contour/Contour.tsx:
##########
@@ -113,12 +107,6 @@ export const getLayer: GetLayerType<ContourLayer> =
function ({
},
);
- if (jsFnMutator) {
- // Applying user defined data mutator if defined
- const jsFnMutatorFunction = sandboxedEval(fd.js_data_mutator);
- data = jsFnMutatorFunction(data);
- }
-
// Create wrapper for tooltip content that adds nearby points
const tooltipContentGenerator = (o: any) => {
Review Comment:
That `any` predates this PR, it's on the code we just trimmed the JS mutator
out of, not something I touched here. Leaving it out of scope for this cleanup.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]