quick fix for cross-signing reset bug

pull/21833/head
Zoe 2020-02-11 13:17:18 +00:00
parent 67aa241ee5
commit 627ced3838
1 changed files with 2 additions and 2 deletions

View File

@ -157,13 +157,13 @@ export default class CrossSigningPanel extends React.PureComponent {
{_t("Bootstrap cross-signing and secret storage")} {_t("Bootstrap cross-signing and secret storage")}
</AccessibleButton> </AccessibleButton>
</div>; </div>;
} else { } /*else { // TODO https://github.com/vector-im/riot-web/issues/12221
bootstrapButton = <div className="mx_CrossSigningPanel_buttonRow"> bootstrapButton = <div className="mx_CrossSigningPanel_buttonRow">
<AccessibleButton kind="danger" onClick={this._destroySecureSecretStorage}> <AccessibleButton kind="danger" onClick={this._destroySecureSecretStorage}>
{_t("Reset cross-signing and secret storage")} {_t("Reset cross-signing and secret storage")}
</AccessibleButton> </AccessibleButton>
</div>; </div>;
} }*/
return ( return (
<div> <div>