diff options
author | Jorik Schellekens <joriks@matrix.org> | 2019-08-16 16:48:00 +0100 |
---|---|---|
committer | Jorik Schellekens <joriks@matrix.org> | 2019-08-28 15:59:54 +0100 |
commit | ff59e6a85c587181333604d55aba9b4300374c06 (patch) | |
tree | 2839355cbe9cc4db3e0d5aba9d2eca906a238b30 /synapse_topology/webui | |
parent | So much lint in my life (diff) | |
download | synapse-ff59e6a85c587181333604d55aba9b4300374c06.tar.xz |
Some little ui bugs
Diffstat (limited to 'synapse_topology/webui')
-rw-r--r-- | synapse_topology/webui/src/js/components/ExportKeys.jsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse_topology/webui/src/js/components/ExportKeys.jsx b/synapse_topology/webui/src/js/components/ExportKeys.jsx index 2bb4b94047..ad7bdb680c 100644 --- a/synapse_topology/webui/src/js/components/ExportKeys.jsx +++ b/synapse_topology/webui/src/js/components/ExportKeys.jsx @@ -19,6 +19,7 @@ export default ({ secretKeyLoaded, secretKey, onClick }) => { const decoratedOnClick = () => { + setDownloadedOrCopied(false); toggle(); onClick(); @@ -51,7 +52,7 @@ export default ({ secretKeyLoaded, secretKey, onClick }) => { <ButtonDisplay> <button onClick={decoratedOnClick} - disabled={downloadedOrCopied ? undefined : "true"} + disabled={!downloadedOrCopied} >Next</button> </ButtonDisplay> </div> |