villebro commented on code in PR #20010:
URL: https://github.com/apache/superset/pull/20010#discussion_r873730538


##########
superset-frontend/plugins/plugin-chart-table/src/controlPanel.tsx:
##########
@@ -517,6 +517,11 @@ const config: ControlPanelConfig = {
       ],
     },
   ],
+  denormalizeFormData: formData => ({
+    ...formData,
+    metrics: formData.standardized_form_data.sharedFormData.metrics,

Review Comment:
   The good thing here is this is all ephemeral state, so we don't have to be 
super cautious about breaking changes. So I vote iterating in small increments 
and not over-abstracting right now (which is precisely what I was doing 😆 )



-- 
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]

Reply via email to