summary refs log tree commit diff
diff options
context:
space:
mode:
authorJorik Schellekens <joriks@matrix.org>2019-08-13 10:23:37 +0100
committerJorik Schellekens <joriks@matrix.org>2019-08-28 15:59:53 +0100
commita20953684982d60978d6a0dcbacc1f6be8b538bc (patch)
tree327f2031daa571c69992c0b0155a161b5c95088e
parentTLS accordion entry (diff)
downloadsynapse-a20953684982d60978d6a0dcbacc1f6be8b538bc.tar.xz
Remove going back logic for the time being.
-rw-r--r--synapse_topology/view/webui/js/reducers/setup-ui-reducer.js18
1 files changed, 1 insertions, 17 deletions
diff --git a/synapse_topology/view/webui/js/reducers/setup-ui-reducer.js b/synapse_topology/view/webui/js/reducers/setup-ui-reducer.js
index cc4fffdce8..d40a79edff 100644
--- a/synapse_topology/view/webui/js/reducers/setup-ui-reducer.js
+++ b/synapse_topology/view/webui/js/reducers/setup-ui-reducer.js
@@ -36,23 +36,7 @@ export default ({ setup_ui, base_config }, action) => {
           ),
         ]
       }
-
-    // TODO: Think about how back should work..
-    // case BACK_UI:
-    //   switch (ui.active_ui) {
-    //     case STATS_REPORT_UI:
-    //       return SERVER_NAME_UI;
-    //     case KEY_EXPORT_UI:
-    //       return STATS_REPORT_UI;
-    //     case DELEGATION_OPTIONS_UI:
-    //       return KEY_EXPORT_UI;
-    //     case WELL_KNOWN_UI:
-    //       return DELEGATION_OPTIONS_UI;
-    //     case DNS_UI:
-    //       return WELL_KNOWN_UI;
-    //     default:
-    //       SETUP_INTRO_UI;
-    //   }
+    case BACK_UI:
     default:
       return setup_ui;
   }