TRA-4553 Fix outgoing filter (#1068)

* Fix outgoing filter

* fix labels
This commit is contained in:
lirazyehezkel 2022-05-08 13:44:56 +03:00 committed by GitHub
parent 8102c49138
commit c7d068748a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -274,21 +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={() => { onClick={() => {
const query = `outgoing == false`; const query = `outgoing == false`;
setQuery(queryState ? `${queryState} and ${query}` : query); setQuery(queryState ? `${queryState} and ${query}` : query);