From 3a8d99c5e4f64a9426585943c40635eb183b47ae Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 28 May 2018 10:18:25 +0200 Subject: start/stop tasks --- app/client/system/system.reducer.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'app/client/system/system.reducer.js') 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: {} }, -- cgit v1.2.3-70-g09d2