Enable support form for Flipper Support
Reviewed By: passy Differential Revision: D24826802 fbshipit-source-id: cbf6a20db8a861505e9e2ace81b8a91981bdafda
This commit is contained in:
committed by
Facebook GitHub Bot
parent
c9b08695d5
commit
532f151c4c
@@ -434,7 +434,7 @@ export function SandyButton({
|
||||
<Menu.Item
|
||||
onClick={(e) => {
|
||||
// @ts-ignore this event args are bound to electron, remove in the future
|
||||
item.click();
|
||||
item.click(item);
|
||||
if (item.checked !== undefined) {
|
||||
// keep the menu item for check lists
|
||||
e.domEvent.stopPropagation();
|
||||
|
||||
@@ -87,6 +87,7 @@ export function getEnabledOrExportPersistedStatePlugins(
|
||||
const enabledPlugins = starredPlugin[appName]
|
||||
? starredPlugin[appName]
|
||||
.map((pluginName) => pluginsMap.get(pluginName)!)
|
||||
.filter(Boolean)
|
||||
.filter((plugin) => {
|
||||
return !plugin.exportPersistedState;
|
||||
})
|
||||
@@ -105,7 +106,8 @@ export function getEnabledOrExportPersistedStatePlugins(
|
||||
id: plugin,
|
||||
label: getPluginTitle(plugins.devicePlugins.get(plugin)!),
|
||||
};
|
||||
});
|
||||
})
|
||||
.filter(Boolean);
|
||||
// Plugins which have defined exportPersistedState.
|
||||
const exportPersistedStatePlugins = client.plugins
|
||||
.filter((name) => {
|
||||
|
||||
Reference in New Issue
Block a user