diff options
Diffstat (limited to 'src/lib/Menu.js')
-rw-r--r-- | src/lib/Menu.js | 4 |
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'; | |||
5 | import { isMac, ctrlKey, cmdKey } from '../environment'; | 5 | import { isMac, ctrlKey, cmdKey } from '../environment'; |
6 | import { GA_CATEGORY_WORKSPACES, workspaceStore } from '../features/workspaces/index'; | 6 | import { GA_CATEGORY_WORKSPACES, workspaceStore } from '../features/workspaces/index'; |
7 | import { workspaceActions } from '../features/workspaces/actions'; | 7 | import { workspaceActions } from '../features/workspaces/actions'; |
8 | import { gaEvent } from './analytics'; | ||
9 | import { announcementActions } from '../features/announcements/actions'; | 8 | import { announcementActions } from '../features/announcements/actions'; |
10 | import { announcementsStore } from '../features/announcements'; | 9 | import { 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 | } |