Show the plugins from the redux store only belonging to the selected app

Summary: It fixes the bug, where currently we show all active persistent plugins for the export functionality irrespective of the fact that the plugin is active for the selected client. With this diff we will only show active persistent plugins for the selected client.

Reviewed By: mweststrate

Differential Revision: D18890247

fbshipit-source-id: e567da0ccf04e051ca0eabb497a6bd72cc8a0d76
This commit is contained in:
Pritesh Nandgaonkar
2019-12-11 06:25:54 -08:00
committed by Facebook Github Bot
parent 5429d1f235
commit c3dfcbe601
3 changed files with 56 additions and 20 deletions

View File

@@ -73,7 +73,6 @@ export default function reducer(
clientPlugins.set(p.id, p);
}
});
return {
...state,
devicePlugins,