graceguo-supercat commented on a change in pull request #6257: Add sql lab 
localStorage config
URL: 
https://github.com/apache/incubator-superset/pull/6257#discussion_r230157346
 
 

 ##########
 File path: superset/assets/src/SqlLab/getInitialState.js
 ##########
 @@ -12,6 +12,7 @@ export default function getInitialState({ defaultDbId, 
...restBootstrapData }) {
     autorun: false,
     dbId: defaultDbId,
   };
+  const { common } = restBootstrapData;
 
   return {
     sqlLab: {
 
 Review comment:
   as long as new field is part of `sqlLab`, it will be persisted into 
localStorage.
   After this PR, for all other root level keys in redux state, will not be 
persisted. 

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to