Show the advnced section whatever the state of key storage

This commit is contained in:
David Baker
2025-02-06 16:21:22 +01:00
parent 40f9bd9480
commit 16c76cb20d

View File

@@ -123,6 +123,7 @@ export function EncryptionUserSettingsTab({ initialState = "loading" }: Encrypti
content = (
<>
<KeyStoragePanel onKeyStorageDisableClick={() => setState("key_storage_delete")} />
<Separator kind="section" />
{keyBackupIsEnabled && (
<>
<RecoveryPanel
@@ -131,11 +132,9 @@ export function EncryptionUserSettingsTab({ initialState = "loading" }: Encrypti
}
/>
<Separator kind="section" />
<AdvancedPanel
onResetIdentityClick={() => setState("reset_identity_compromised")}
/>{" "}
</>
)}
<AdvancedPanel onResetIdentityClick={() => setState("reset_identity_compromised")} />{" "}
</>
);
break;