From 5f88abb32202513905b38521c741a1ef7020e7b2 Mon Sep 17 00:00:00 2001 From: Ildar Kamalov Date: Mon, 22 Apr 2019 12:25:40 +0300 Subject: [PATCH] * client: fixed getDefaultAddresses structure --- client/src/reducers/install.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/reducers/install.js b/client/src/reducers/install.js index f1fb6f28..3709b0ec 100644 --- a/client/src/reducers/install.js +++ b/client/src/reducers/install.js @@ -11,8 +11,8 @@ const install = handleActions({ [actions.getDefaultAddressesFailure]: state => ({ ...state, processingDefault: false }), [actions.getDefaultAddressesSuccess]: (state, { payload }) => { const { interfaces } = payload; - const web = { ...state.web, ...payload.web }; - const dns = { ...state.dns, ...payload.dns }; + const web = { ...state.web, port: payload.web_port }; + const dns = { ...state.dns, port: payload.dns_port }; const newState = { ...state, web, dns, interfaces, processingDefault: false,