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
src={outgoingIcon}
alt="Ingoing traffic"
title="Ingoing"
alt="Outgoing traffic"
title="Outgoing"
/>
</Queryable>
:
<Queryable
query={`outgoing == true`}
query={`outgoing == false`}
displayIconOnMouseOver={true}
flipped={true}
iconStyle={{marginTop: "28px"}}
>
<img
src={ingoingIcon}
alt="Outgoing traffic"
title="Outgoing"
alt="Ingoing traffic"
title="Ingoing"
onClick={() => {
const query = `outgoing == false`;
setQuery(queryState ? `${queryState} and ${query}` : query);