diff options
author | Jorik Schellekens <joriks@matrix.org> | 2019-08-16 12:17:42 +0100 |
---|---|---|
committer | Jorik Schellekens <joriks@matrix.org> | 2019-08-28 15:59:54 +0100 |
commit | 25f8fba5a31f9b077b40d5dcef4e4be8c2f6ae80 (patch) | |
tree | ccea12236b67c53d64b5c8cbf2f50971c1c4c393 | |
parent | Move port entry into tab (diff) | |
download | synapse-25f8fba5a31f9b077b40d5dcef4e4be8c2f6ae80.tar.xz |
Setting port bug
-rw-r--r-- | synapse_topology/webui/src/js/reducers/base-config-reducer.js | 9 |
1 files 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 { |