Skip to content

Instantly share code, notes, and snippets.

@bushidocodes
Created September 11, 2017 19:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bushidocodes/d90a7359cc76ab2036903ba506912867 to your computer and use it in GitHub Desktop.
Save bushidocodes/d90a7359cc76ab2036903ba506912867 to your computer and use it in GitHub Desktop.
To Restore Local Storage
  1. In index.js, uncomment window.localStorageWorker
  2. In store.js, uncomment the lodash and getState imports, delete the dashboard JSON imports, uncomment the localStorage effects, and delete "loadDashboardsFromJSON"
  3. In Container, uncomment out the localStorage code and delete the call to Actions.loadDashboardsFromJSON
  4. In GMGrid, uncomment the code in updateDashboardLayout
  5. In SettingsGrid, uncomment the LayoutSection with the reset dashboards functionality.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment