Remove the gk

Summary: We have already rolled out `support_requests_v2` to 100% of FB employees. Thus removing the unneeded checks for the GK.

Reviewed By: jknoxville

Differential Revision: D19770930

fbshipit-source-id: 06fcf7b6b7c1305ab1b5b3c8df344e2877251e65
This commit is contained in:
Pritesh Nandgaonkar
2020-02-07 03:43:17 -08:00
committed by Facebook Github Bot
parent b9fafb0e61
commit c52ca255bb
3 changed files with 49 additions and 62 deletions

View File

@@ -215,21 +215,19 @@ function getTemplate(
submenu: exportSubmenu,
},
];
if (GK.get('support_requests_v2')) {
const supportRequestSubmenu = [
{
label: 'Create...',
click: function() {
// Dispatch an action to open the export screen of Support Request form
store.dispatch(setStaticView(SupportRequestFormV2));
},
const supportRequestSubmenu = [
{
label: 'Create...',
click: function() {
// Dispatch an action to open the export screen of Support Request form
store.dispatch(setStaticView(SupportRequestFormV2));
},
];
fileSubmenu.push({
label: 'Support Requests',
submenu: supportRequestSubmenu,
});
}
},
];
fileSubmenu.push({
label: 'Support Requests',
submenu: supportRequestSubmenu,
});
const template: MenuItemConstructorOptions[] = [
{