From 25f8fba5a31f9b077b40d5dcef4e4be8c2f6ae80 Mon Sep 17 00:00:00 2001 From: Jorik Schellekens Date: Fri, 16 Aug 2019 12:17:42 +0100 Subject: Setting port bug --- synapse_topology/webui/src/js/reducers/base-config-reducer.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/synapse_topology/webui/src/js/reducers/base-config-reducer.js b/synapse_topology/webui/src/js/reducers/base-config-reducer.js index 9d296a6a3a..4ed635f25c 100644 --- a/synapse_topology/webui/src/js/reducers/base-config-reducer.js +++ b/synapse_topology/webui/src/js/reducers/base-config-reducer.js @@ -4,6 +4,7 @@ import { SET_SECRET_KEY, GETTING_SECRET_KEY, SET_DELEGATION, + SET_DELEGATION_PORTS, SET_DELEGATION_SERVERNAME, SET_REVERSE_PROXY, SET_TLS, @@ -56,16 +57,16 @@ export default (state, action) => { ...state, delegationType: action.delegationType, } - case SET_DELEGATION_SERVERNAME: + case SET_DELEGATION_PORTS: return { ...state, - delegationServername: action.servername, + delegationFederationPort: action.federationPort, + delegationClientPort: action.clientPort, } case SET_DELEGATION_SERVERNAME: return { ...state, - delegationFederationPort: action.federationPort, - delegationClientPort: action.clientPort, + delegationServername: action.servername, } case SET_REVERSE_PROXY: return { -- cgit 1.5.1