From 7917bca6c4da52f65de7f5ff139d66db2ac9ec51 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 16 Jun 2018 16:02:33 +0200 Subject: navigationnnn --- app/client/system/system.actions.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'app/client/system/system.actions.js') diff --git a/app/client/system/system.actions.js b/app/client/system/system.actions.js index 7831704..a34bd58 100644 --- a/app/client/system/system.actions.js +++ b/app/client/system/system.actions.js @@ -1,7 +1,7 @@ import socket from '../socket' import types from '../types' -import actions from '../actions' +// import actions from '../actions' export const run = (cmd) => (dispatch) => { dispatch({ type: types.system.running_command, cmd }) @@ -26,6 +26,7 @@ export const listDirectory = (opt) => (dispatch) => { } export const changeTool = (tool) => { + localStorage.setItem('system.last_tool', tool) return { type: types.app.change_tool, tool } } @@ -35,7 +36,7 @@ export const enqueue_test_task = (dataset) => dispatch => { activity: 'cpu', dataset: dataset, } - return actions.queue.add_task(task) + // return actions.queue.add_task(task) } window.addEventListener('keyDown', e => { -- cgit v1.2.3-70-g09d2