diff --git a/src/components/views/dialogs/UserSettingsDialog.tsx b/src/components/views/dialogs/UserSettingsDialog.tsx index 29a665f05e..5311e60d50 100644 --- a/src/components/views/dialogs/UserSettingsDialog.tsx +++ b/src/components/views/dialogs/UserSettingsDialog.tsx @@ -113,7 +113,8 @@ export default function UserSettingsDialog(props: IProps): JSX.Element { "UserSettingsGeneral", ), ); - tabs.push( + // JP: Disable session manager tab for now + /*tabs.push( new Tab( UserTab.SessionManager, _td("settings|sessions|title"), @@ -121,7 +122,7 @@ export default function UserSettingsDialog(props: IProps): JSX.Element { , undefined, ), - ); + );*/ tabs.push( new Tab( UserTab.Appearance, @@ -199,12 +200,12 @@ export default function UserSettingsDialog(props: IProps): JSX.Element { "UserSettingsEncryption", ), ); - - if (showLabsFlags() || SettingsStore.getFeatureSettingNames().some((k) => SettingsStore.getBetaInfo(k))) { + // JP: Disable labs tab for now + /*if (showLabsFlags() || SettingsStore.getFeatureSettingNames().some((k) => SettingsStore.getBetaInfo(k))) { tabs.push( new Tab(UserTab.Labs, _td("common|labs"), , , "UserSettingsLabs"), ); - } + }*/ if (mjolnirEnabled) { tabs.push( new Tab( @@ -216,7 +217,8 @@ export default function UserSettingsDialog(props: IProps): JSX.Element { ), ); } - tabs.push( + // JP: Disable help tab for now +/* tabs.push( new Tab( UserTab.Help, _td("setting|help_about|title"), @@ -224,7 +226,7 @@ export default function UserSettingsDialog(props: IProps): JSX.Element { , "UserSettingsHelpAbout", ), - ); + );*/ return tabs as NonEmptyArray>; };