fix query id for tls selector (#49540)

This commit is contained in:
Angela Chuang 2019-10-29 09:22:53 -04:00 committed by GitHub
parent 19ea92abb7
commit 529945bf42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -143,7 +143,7 @@ class TlsComponentQuery extends QueryTemplatePaginated<
const makeMapStateToProps = () => {
const getTlsSelector = networkSelectors.tlsSelector();
const getQuery = inputsSelectors.globalQueryByIdSelector();
return (state: State, { flowTarget, id = `${ID}-${flowTarget}`, type }: OwnProps) => {
return (state: State, { flowTarget, id = ID, type }: OwnProps) => {
const { isInspected } = getQuery(state, id);
return {
...getTlsSelector(state, type, flowTarget),