From b7365c11bbd1bfa7c2cd01c3e17cb94147c01a0f Mon Sep 17 00:00:00 2001 From: Steph Milovic Date: Tue, 10 Sep 2019 07:39:32 -0600 Subject: [PATCH] [SIEM] unique table id for each top talkers table (#45014) (#45234) --- .../siem/public/containers/network_top_n_flow/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/legacy/plugins/siem/public/containers/network_top_n_flow/index.tsx b/x-pack/legacy/plugins/siem/public/containers/network_top_n_flow/index.tsx index c9952256ad313..36e768532c263 100644 --- a/x-pack/legacy/plugins/siem/public/containers/network_top_n_flow/index.tsx +++ b/x-pack/legacy/plugins/siem/public/containers/network_top_n_flow/index.tsx @@ -64,7 +64,7 @@ class NetworkTopNFlowComponentQuery extends QueryTemplatePaginated< endDate, flowTarget, filterQuery, - id = ID, + id = `${ID}-${flowTarget}`, isInspected, limit, skip, @@ -132,7 +132,7 @@ class NetworkTopNFlowComponentQuery extends QueryTemplatePaginated< } } -const mapStateToProps = (state: State, { flowTarget, id = ID }: OwnProps) => { +const mapStateToProps = (state: State, { flowTarget, id = `${ID}-${flowTarget}` }: OwnProps) => { const getNetworkTopNFlowSelector = networkSelectors.topNFlowSelector(flowTarget); const getQuery = inputsSelectors.globalQueryByIdSelector(); const { isInspected } = getQuery(state, id);