diff options
author | Jorik Schellekens <joriks@matrix.org> | 2019-09-05 11:57:17 +0100 |
---|---|---|
committer | Jorik Schellekens <joriks@matrix.org> | 2019-09-05 11:57:25 +0100 |
commit | 2f360de3b61c7218663fb9a2f1ce9df5b98d7d67 (patch) | |
tree | ad391c55b647b1e008a15d868a4c706fbb7d00b7 /synapse_topology/webui | |
parent | Fix port in use (diff) | |
download | synapse-2f360de3b61c7218663fb9a2f1ce9df5b98d7d67.tar.xz |
Key state is set in servename
Diffstat (limited to 'synapse_topology/webui')
-rw-r--r-- | synapse_topology/webui/src/js/reducers/state.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/synapse_topology/webui/src/js/reducers/state.js b/synapse_topology/webui/src/js/reducers/state.js index a5e83384ce..1b7cd59111 100644 --- a/synapse_topology/webui/src/js/reducers/state.js +++ b/synapse_topology/webui/src/js/reducers/state.js @@ -17,7 +17,7 @@ const setupDone = "setupDone"; const baseConfigChecked = "baseConfigChecked"; const servername = "servername"; const reportStats = "reportStats"; -const gettingSecretKey = "gettingSecretKey"; +const secretKeyLoaded = "secretKeyLoaded"; const secretKey = "secretKey"; const delegationType = "delegationType"; const delegationServerName = "delegationServerName"; @@ -55,7 +55,7 @@ const state = { [configDir]: "sadfasdf", [servername]: "server_name", [reportStats]: false, - [gettingSecretKey]: false, + [secretKeyLoaded]: false, [secretKey]: "asdfsadf", [delegationType]: "local|well_known|DNS_SRV", [delegationServerName]: "name", @@ -88,13 +88,13 @@ export const uiStateMapping = { ], [SERVER_NAME_UI]: [ servername, + secretKeyLoaded, + secretKey, ], [STATS_REPORT_UI]: [ reportStats, ], [KEY_EXPORT_UI]: [ - gettingSecretKey, - secretKey, ], [DELEGATION_OPTIONS_UI]: [ delegationType, |