Skip to content

Commit

Permalink
[SIEM] unique table id for each top talkers table (#45014) (#45233)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephmilovic authored Sep 10, 2019
1 parent f165c46 commit ac23755
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class NetworkTopNFlowComponentQuery extends QueryTemplatePaginated<
endDate,
flowTarget,
filterQuery,
id = ID,
id = `${ID}-${flowTarget}`,
isInspected,
limit,
skip,
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit ac23755

Please sign in to comment.