From 1f22a3353b8b45aeb9e08e07902dc5efdfab0956 Mon Sep 17 00:00:00 2001 From: 6ea86b96 <6ea86b96@gmail.com> Date: Tue, 2 May 2017 10:57:50 +0700 Subject: [PATCH] Add missing DAEMON_READY reducer --- ui/js/reducers/app.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ui/js/reducers/app.js b/ui/js/reducers/app.js index 4fa7442ba..43ae54090 100644 --- a/ui/js/reducers/app.js +++ b/ui/js/reducers/app.js @@ -15,6 +15,12 @@ const defaultState = { hasSignature: false, } +reducers[types.DAEMON_READY] = function(state, action) { + return Object.assign({}, state, { + daemonReady: true, + }) +} + reducers[types.NAVIGATE] = function(state, action) { return Object.assign({}, state, { currentPath: action.data.path,