Fix broken export functionality
Summary: This fixes a regression bug introduced by the rework sidebar selection: when trying to export a Flipper Trace flipper would error: 'No client exported' after making plugin selection Reviewed By: priteshrnandgaonkar Differential Revision: D18571143 fbshipit-source-id: c7a292e53cb79d0b2d95e09f8e9b041ae0d711cf
This commit is contained in:
committed by
Facebook Github Bot
parent
bf336ccf6c
commit
d97675f2e6
@@ -469,7 +469,7 @@ export async function getStoreExport(
|
|||||||
const state = store.getState();
|
const state = store.getState();
|
||||||
const {clients} = state.connections;
|
const {clients} = state.connections;
|
||||||
const client = clients.find(
|
const client = clients.find(
|
||||||
client => client.query.app === state.connections.selectedApp,
|
client => client.id === state.connections.selectedApp,
|
||||||
);
|
);
|
||||||
const {pluginStates} = state;
|
const {pluginStates} = state;
|
||||||
const {plugins} = state;
|
const {plugins} = state;
|
||||||
|
|||||||
Reference in New Issue
Block a user