summary refs log tree commit diff
diff options
context:
space:
mode:
authorJorik Schellekens <joriks@matrix.org>2019-09-05 11:57:17 +0100
committerJorik Schellekens <joriks@matrix.org>2019-09-05 11:57:25 +0100
commit2f360de3b61c7218663fb9a2f1ce9df5b98d7d67 (patch)
treead391c55b647b1e008a15d868a4c706fbb7d00b7
parentFix port in use (diff)
downloadsynapse-2f360de3b61c7218663fb9a2f1ce9df5b98d7d67.tar.xz
Key state is set in servename
-rw-r--r--synapse_topology/webui/src/js/reducers/state.js8
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,