Fix the plugin display logic to show enabled and device plugins

Summary: Changed the plugin display logic in SupportForm to show plugins which are enabled(includes device plugins) and plugins which has `exportPersistedState` defined.

Reviewed By: mweststrate

Differential Revision: D19643857

fbshipit-source-id: 7a4a5882507c06c6b6f9c481ee2c5c36ecc32ac6
This commit is contained in:
Pritesh Nandgaonkar
2020-02-03 04:35:49 -08:00
committed by Facebook Github Bot
parent de1d116806
commit c51797d194
3 changed files with 65 additions and 7 deletions

View File

@@ -191,10 +191,9 @@ export default (store: Store, logger: Logger) => {
setSelectedPlugins(
defaultSelectedPluginsForGroup(
grp,
store.getState().pluginStates,
store.getState().pluginMessageQueue,
store.getState().plugins,
selectedClient,
store.getState().connections.userStarredPlugins,
),
),
);