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 2018/10/04 23:07:52 UTC

[GitHub] kristw commented on a change in pull request #6038: Fixes to the CategoricalDeckGLContainer and filter box

kristw commented on a change in pull request #6038: Fixes to the CategoricalDeckGLContainer and filter box
URL: https://github.com/apache/incubator-superset/pull/6038#discussion_r222853453
 
 

 ##########
 File path: superset/assets/src/visualizations/deckgl/CategoricalDeckGLContainer.jsx
 ##########
 @@ -48,19 +48,20 @@ export default class CategoricalDeckGLContainer extends React.PureComponent {
    */
 
   /* eslint-disable-next-line react/sort-comp */
-  static getDerivedStateFromProps(nextProps) {
-    const fd = nextProps.slice.formData;
+  static getDerivedStateFromProps(nextProps, currentState) {
+    const fd = nextProps.payload.form_data;
 
 Review comment:
   What is the difference between `slice.formData` and `payload.form_data`?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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