graceguo-supercat commented on a change in pull request #6013: [Sqllab] Add
offline state to sqllab
URL:
https://github.com/apache/incubator-superset/pull/6013#discussion_r223816779
##########
File path: superset/assets/src/SqlLab/App.jsx
##########
@@ -20,6 +20,7 @@ initJQueryAjax();
const appContainer = document.getElementById('app');
const bootstrapData = JSON.parse(appContainer.getAttribute('data-bootstrap'));
+bootstrapData.offline = false;
Review comment:
this logic (set initial value for offline state) should be in function
`getInitialState`
----------------------------------------------------------------
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]