fix: encryption status title (#643)
* fix: encryption status title * fix: derive encryption status directly from appState and application * Update app/assets/javascripts/preferences/panes/Encryption.tsx Co-authored-by: Mo Bitar <mo@standardnotes.org> Co-authored-by: Mo Bitar <mo@standardnotes.org>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { AppState } from '@/ui_models/app_state';
|
||||
import { FunctionComponent } from 'preact';
|
||||
import { PreferencesPane } from '../components';
|
||||
import { EndToEndEncryption } from './EndToEndEncryption';
|
||||
import { Encryption } from './Encryption';
|
||||
import { TwoFactorAuthWrapper } from './two-factor-auth';
|
||||
import { MfaProps } from './two-factor-auth/MfaProps';
|
||||
|
||||
@@ -11,7 +11,7 @@ interface SecurityProps extends MfaProps {
|
||||
|
||||
export const Security: FunctionComponent<SecurityProps> = (props) => (
|
||||
<PreferencesPane>
|
||||
<EndToEndEncryption appState={props.appState} />
|
||||
<Encryption appState={props.appState} />
|
||||
<TwoFactorAuthWrapper
|
||||
mfaProvider={props.mfaProvider}
|
||||
userProvider={props.userProvider}
|
||||
|
||||
Reference in New Issue
Block a user