mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-04 01:19:41 +00:00
feat: remove unnecessary tabs
This commit is contained in:
@@ -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 {
|
||||
<SessionManagerTab showMsc4108QrCode={showMsc4108QrCode} />,
|
||||
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"), <LabsIcon />, <LabsUserSettingsTab />, "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 {
|
||||
<HelpUserSettingsTab />,
|
||||
"UserSettingsHelpAbout",
|
||||
),
|
||||
);
|
||||
);*/
|
||||
|
||||
return tabs as NonEmptyArray<Tab<UserTab>>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user