summaryrefslogtreecommitdiff
path: root/app/client/system/system.reducer.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/client/system/system.reducer.js')
-rw-r--r--app/client/system/system.reducer.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/client/system/system.reducer.js b/app/client/system/system.reducer.js
index c29572e..f945a65 100644
--- a/app/client/system/system.reducer.js
+++ b/app/client/system/system.reducer.js
@@ -21,7 +21,7 @@ const systemInitialState = {
},
rpc: {
connected: false,
- status: "unknown",
+ status: "disconnected",
error: null,
},
cmd: {
@@ -169,6 +169,11 @@ const systemReducer = (state = systemInitialState, action) => {
}
return {
...state,
+ rpc: {
+ connected: false,
+ status: "disconnected",
+ error: null,
+ },
runner: {
...state.runner,
[action.task.processor]: { status: 'IDLE', task: {} },