mirror of https://github.com/docker/docs.git
Merge pull request #1606 from docker/remove-localstorage
Remove localstorage
This commit is contained in:
commit
fb0445af7c
|
|
@ -32,6 +32,7 @@ var ContainerHome = React.createClass({
|
|||
},
|
||||
|
||||
handleErrorClick: function () {
|
||||
// Display wiki for proxy: https://github.com/docker/kitematic/wiki/Common-Proxy-Issues-&-Fixes
|
||||
shell.openExternal('https://github.com/kitematic/kitematic/issues/new');
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -39,7 +39,6 @@ export default {
|
|||
|
||||
async useVbox () {
|
||||
metrics.track('Retried Setup with VBox');
|
||||
localStorage.setItem('settings.useNative', false);
|
||||
router.get().transitionTo('loading');
|
||||
setupServerActions.error({ error: { message: null }});
|
||||
_retryPromise.resolve();
|
||||
|
|
@ -70,7 +69,6 @@ export default {
|
|||
while (true) {
|
||||
try {
|
||||
if (util.isNative()) {
|
||||
localStorage.setItem('setting.useNative', true);
|
||||
let stats = fs.statSync('/var/run/docker.sock');
|
||||
if (stats.isSocket()) {
|
||||
await this.nativeSetup();
|
||||
|
|
|
|||
|
|
@ -38,7 +38,6 @@ module.exports = {
|
|||
return process.platform === 'linux';
|
||||
},
|
||||
isNative: function () {
|
||||
// let native = JSON.parse(localStorage.getItem('settings.useNative'));
|
||||
let native = null;
|
||||
if (native === null) {
|
||||
try {
|
||||
|
|
|
|||
Loading…
Reference in New Issue