Client: ProfileActionsStore: fix
This commit is contained in:
parent
02e77f4dae
commit
4edf7863f6
@ -208,7 +208,7 @@ class ProfileActionsStore {
|
||||
? {
|
||||
key: "user-menu-settings",
|
||||
icon: CatalogSettingsReactSvgUrl,
|
||||
label: t("Common:SettingsDocSpace"),
|
||||
label: t("Common:Settings"),
|
||||
onClick: () => this.onSettingsClick(settingsUrl),
|
||||
}
|
||||
: null;
|
||||
@ -287,7 +287,7 @@ class ProfileActionsStore {
|
||||
// onClick: this.onVideoGuidesClick,
|
||||
// },
|
||||
hotkeys,
|
||||
{
|
||||
!isMobile && {
|
||||
isSeparator: true,
|
||||
key: "separator2",
|
||||
},
|
||||
@ -311,19 +311,13 @@ class ProfileActionsStore {
|
||||
!window.navigator.userAgent.includes("ZoomWebKit") &&
|
||||
!window.navigator.userAgent.includes("ZoomApps")
|
||||
) {
|
||||
actions.push(
|
||||
{
|
||||
isSeparator: true,
|
||||
key: "separator3",
|
||||
},
|
||||
{
|
||||
key: "user-menu-logout",
|
||||
icon: LogoutReactSvgUrl,
|
||||
label: t("Common:LogoutButton"),
|
||||
onClick: this.onLogoutClick,
|
||||
isButton: true,
|
||||
}
|
||||
);
|
||||
actions.push({
|
||||
key: "user-menu-logout",
|
||||
icon: LogoutReactSvgUrl,
|
||||
label: t("Common:LogoutButton"),
|
||||
onClick: this.onLogoutClick,
|
||||
isButton: true,
|
||||
});
|
||||
}
|
||||
|
||||
if (debugInfo) {
|
||||
|
Loading…
Reference in New Issue
Block a user