diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-06-16 16:02:33 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-06-16 16:02:33 +0200 |
| commit | 7917bca6c4da52f65de7f5ff139d66db2ac9ec51 (patch) | |
| tree | e6790843122e733aba70ccce356e066a0d25f397 /app/client/system/system.actions.js | |
| parent | 3fbc955e814eb26e55fb083e688b49545b125f5e (diff) | |
navigationnnn
Diffstat (limited to 'app/client/system/system.actions.js')
| -rw-r--r-- | app/client/system/system.actions.js | 5 |
1 files changed, 3 insertions, 2 deletions
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 => { |
