aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/Menu.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Menu.js')
-rw-r--r--src/lib/Menu.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/Menu.js b/src/lib/Menu.js
index 22d788918..f1b8894c8 100644
--- a/src/lib/Menu.js
+++ b/src/lib/Menu.js
@@ -5,7 +5,6 @@ import { defineMessages } from 'react-intl';
5import { isMac, ctrlKey, cmdKey } from '../environment'; 5import { isMac, ctrlKey, cmdKey } from '../environment';
6import { GA_CATEGORY_WORKSPACES, workspaceStore } from '../features/workspaces/index'; 6import { GA_CATEGORY_WORKSPACES, workspaceStore } from '../features/workspaces/index';
7import { workspaceActions } from '../features/workspaces/actions'; 7import { workspaceActions } from '../features/workspaces/actions';
8import { gaEvent } from './analytics';
9import { announcementActions } from '../features/announcements/actions'; 8import { announcementActions } from '../features/announcements/actions';
10import { announcementsStore } from '../features/announcements'; 9import { announcementsStore } from '../features/announcements';
11 10
@@ -850,7 +849,6 @@ export default class FranzMenu {
850 accelerator: `${cmdKey}+D`, 849 accelerator: `${cmdKey}+D`,
851 click: () => { 850 click: () => {
852 workspaceActions.toggleWorkspaceDrawer(); 851 workspaceActions.toggleWorkspaceDrawer();
853 gaEvent(GA_CATEGORY_WORKSPACES, 'toggleDrawer', 'menu');
854 }, 852 },
855 enabled: this.stores.user.isLoggedIn, 853 enabled: this.stores.user.isLoggedIn,
856 }, { 854 }, {
@@ -865,7 +863,6 @@ export default class FranzMenu {
865 checked: !activeWorkspace, 863 checked: !activeWorkspace,
866 click: () => { 864 click: () => {
867 workspaceActions.deactivate(); 865 workspaceActions.deactivate();
868 gaEvent(GA_CATEGORY_WORKSPACES, 'switch', 'menu');
869 }, 866 },
870 }); 867 });
871 868
@@ -878,7 +875,6 @@ export default class FranzMenu {
878 checked: activeWorkspace ? workspace.id === activeWorkspace.id : false, 875 checked: activeWorkspace ? workspace.id === activeWorkspace.id : false,
879 click: () => { 876 click: () => {
880 workspaceActions.activate({ workspace }); 877 workspaceActions.activate({ workspace });
881 gaEvent(GA_CATEGORY_WORKSPACES, 'switch', 'menu');
882 }, 878 },
883 })); 879 }));
884 } 880 }