feat: re-enable Security shortcut in the user menu

Restore openSecurity to isAuthenticated (master's behaviour) so the
Security quick-link reappears in the user menu, consistent with the
re-enabled Security settings tab.
This commit is contained in:
2026-06-06 10:59:47 +02:00
parent 29beb42819
commit facf01beb2
2 changed files with 2 additions and 3 deletions
@@ -47,8 +47,7 @@ export class UserMenuViewModel extends BaseViewModel<UserMenuSnapshot, undefined
signIn: !isAuthenticated, signIn: !isAuthenticated,
openHomePage: hasHomePage, openHomePage: hasHomePage,
linkNewDevice: isAuthenticated, linkNewDevice: isAuthenticated,
// JP: Disabled Security menu item for HealthChat (confusing) openSecurity: isAuthenticated,
openSecurity: false,
openFeedback: shouldShowFeedback(), openFeedback: shouldShowFeedback(),
openSettings: true, openSettings: true,
}, },
@@ -28,7 +28,7 @@ exports[`UserMenuViewModel should generate a menu options for a logged in client
"linkNewDevice": true, "linkNewDevice": true,
"openFeedback": false, "openFeedback": false,
"openHomePage": false, "openHomePage": false,
"openSecurity": false, "openSecurity": true,
"openSettings": true, "openSettings": true,
"signIn": false, "signIn": false,
}, },