mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 20:38:55 +03:00
undo change
This commit is contained in:
parent
d990986407
commit
93323febcb
1 changed files with 4 additions and 4 deletions
|
@ -367,14 +367,14 @@ export default class SecureBackupPanel extends React.PureComponent {
|
||||||
</>;
|
</>;
|
||||||
|
|
||||||
actions.push(
|
actions.push(
|
||||||
<AccessibleButton kind="primary" onClick={this._restoreBackup} key="restoreButton">
|
<AccessibleButton kind="primary" onClick={this._restoreBackup}>
|
||||||
{restoreButtonCaption}
|
{restoreButtonCaption}
|
||||||
</AccessibleButton>,
|
</AccessibleButton>,
|
||||||
);
|
);
|
||||||
|
|
||||||
if (!isSecureBackupRequired()) {
|
if (!isSecureBackupRequired()) {
|
||||||
actions.push(
|
actions.push(
|
||||||
<AccessibleButton kind="danger" onClick={this._deleteBackup} key="deleteButton">
|
<AccessibleButton kind="danger" onClick={this._deleteBackup}>
|
||||||
{_t("Delete Backup")}
|
{_t("Delete Backup")}
|
||||||
</AccessibleButton>,
|
</AccessibleButton>,
|
||||||
);
|
);
|
||||||
|
@ -388,7 +388,7 @@ export default class SecureBackupPanel extends React.PureComponent {
|
||||||
<p>{_t("Back up your keys before signing out to avoid losing them.")}</p>
|
<p>{_t("Back up your keys before signing out to avoid losing them.")}</p>
|
||||||
</>;
|
</>;
|
||||||
actions.push(
|
actions.push(
|
||||||
<AccessibleButton kind="primary" onClick={this._startNewBackup} key="setupButton">
|
<AccessibleButton kind="primary" onClick={this._startNewBackup}>
|
||||||
{_t("Set up")}
|
{_t("Set up")}
|
||||||
</AccessibleButton>,
|
</AccessibleButton>,
|
||||||
);
|
);
|
||||||
|
@ -396,7 +396,7 @@ export default class SecureBackupPanel extends React.PureComponent {
|
||||||
|
|
||||||
if (secretStorageKeyInAccount) {
|
if (secretStorageKeyInAccount) {
|
||||||
actions.push(
|
actions.push(
|
||||||
<AccessibleButton kind="danger" onClick={this._resetSecretStorage} key="resetButton">
|
<AccessibleButton kind="danger" onClick={this._resetSecretStorage}>
|
||||||
{_t("Reset")}
|
{_t("Reset")}
|
||||||
</AccessibleButton>,
|
</AccessibleButton>,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue