fix: disable security setting (confusing)

This commit is contained in:
2025-12-30 21:19:49 +01:00
committed by Joël
parent df2d56073c
commit 958539dc83
2 changed files with 4 additions and 1 deletions
@@ -196,6 +196,7 @@ export default function UserSettingsDialog(props: IProps): JSX.Element {
); );
} }
/* JP: Disabled Security tab for HealthChat
tabs.push( tabs.push(
new Tab( new Tab(
UserTab.Security, UserTab.Security,
@@ -205,6 +206,7 @@ export default function UserSettingsDialog(props: IProps): JSX.Element {
"UserSettingsSecurityPrivacy", "UserSettingsSecurityPrivacy",
), ),
); );
*/
tabs.push( tabs.push(
new Tab( new Tab(
@@ -47,7 +47,8 @@ export class UserMenuViewModel extends BaseViewModel<UserMenuSnapshot, undefined
signIn: !isAuthenticated, signIn: !isAuthenticated,
openHomePage: hasHomePage, openHomePage: hasHomePage,
linkNewDevice: isAuthenticated, linkNewDevice: isAuthenticated,
openSecurity: isAuthenticated, // JP: Disabled Security menu item for HealthChat (confusing)
openSecurity: false,
openFeedback: shouldShowFeedback(), openFeedback: shouldShowFeedback(),
openSettings: true, openSettings: true,
}, },