You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/03/01 12:07:05 UTC

[GitHub] [superset] michael-s-molina commented on a change in pull request #18960: fix(chart): deprecate persisting url_params

michael-s-molina commented on a change in pull request #18960:
URL: https://github.com/apache/superset/pull/18960#discussion_r816662064



##########
File path: superset-frontend/src/explore/exploreUtils/formData.ts
##########
@@ -24,6 +24,13 @@ type Payload = {
   chart_id?: number;
 };
 
+const TEMPORARY_CONTROLS = new Set(['url_params']);
+
+export const sanitizeFormData = (formData: JsonObject): JsonObject =>

Review comment:
       Maybe use Lodash [omitBy](https://lodash.com/docs/4.17.15#omitBy)?




-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org