Merge branch 'develop' into feat/afpacket

This commit is contained in:
M. Mert Yıldıran
2022-05-08 05:11:36 -07:00
committed by GitHub

View File

@@ -274,25 +274,21 @@ export const EntryItem: React.FC<EntryProps> = ({entry, style, headingMode, name
> >
<img <img
src={outgoingIcon} src={outgoingIcon}
alt="Ingoing traffic" alt="Outgoing traffic"
title="Ingoing" title="Outgoing"
/> />
</Queryable> </Queryable>
: :
<Queryable <Queryable
query={`outgoing == true`} query={`outgoing == false`}
displayIconOnMouseOver={true} displayIconOnMouseOver={true}
flipped={true} flipped={true}
iconStyle={{marginTop: "28px"}} iconStyle={{marginTop: "28px"}}
> >
<img <img
src={ingoingIcon} src={ingoingIcon}
alt="Outgoing traffic" alt="Ingoing traffic"
title="Outgoing" title="Ingoing"
onClick={() => {
const query = `outgoing == false`;
setQuery(queryState ? `${queryState} and ${query}` : query);
}}
/> />
</Queryable> </Queryable>
} }