mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-05 12:54:39 +00:00
fix: disable security setting (confusing)
This commit is contained in:
@@ -332,11 +332,13 @@ export default class UserMenu extends React.Component<IProps, IState> {
|
|||||||
label={_t("notifications|enable_prompt_toast_title")}
|
label={_t("notifications|enable_prompt_toast_title")}
|
||||||
onClick={(e) => this.onSettingsOpen(e, UserTab.Notifications)}
|
onClick={(e) => this.onSettingsOpen(e, UserTab.Notifications)}
|
||||||
/>
|
/>
|
||||||
|
{/* JP: Disabled Security menu item for HealthChat
|
||||||
<IconizedContextMenuOption
|
<IconizedContextMenuOption
|
||||||
iconClassName="mx_UserMenu_iconLock"
|
iconClassName="mx_UserMenu_iconLock"
|
||||||
label={_t("room_settings|security|title")}
|
label={_t("room_settings|security|title")}
|
||||||
onClick={(e) => this.onSettingsOpen(e, UserTab.Security)}
|
onClick={(e) => this.onSettingsOpen(e, UserTab.Security)}
|
||||||
/>
|
/>
|
||||||
|
*/}
|
||||||
<IconizedContextMenuOption
|
<IconizedContextMenuOption
|
||||||
iconClassName="mx_UserMenu_iconSettings"
|
iconClassName="mx_UserMenu_iconSettings"
|
||||||
label={_t("user_menu|settings")}
|
label={_t("user_menu|settings")}
|
||||||
|
|||||||
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user