summaryrefslogtreecommitdiff
path: root/app/client/system
diff options
context:
space:
mode:
Diffstat (limited to 'app/client/system')
-rw-r--r--app/client/system/system.reducer.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/client/system/system.reducer.js b/app/client/system/system.reducer.js
index 11baceb..27c248a 100644
--- a/app/client/system/system.reducer.js
+++ b/app/client/system/system.reducer.js
@@ -117,14 +117,15 @@ const systemReducer = (state = systemInitialState, action) => {
},
runner: action.runner,
}
- case types.system.rpc_connected:
+ case types.system.rpc_disconnected:
return {
...state,
rpc: {
status: 'disconnected',
connected: false,
error: null,
- }
+ },
+ runner: action.runner,
}
case types.system.load_site:
document.querySelector('title').innerHTML = action.site.name + '.cortex'