summaryrefslogtreecommitdiff
path: root/app/client/system/system.actions.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/client/system/system.actions.js')
-rw-r--r--app/client/system/system.actions.js5
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 => {