Skip to content

Commit

Permalink
con status
Browse files Browse the repository at this point in the history
  • Loading branch information
sinamics committed Apr 8, 2023
1 parent 675af03 commit bf269a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/modules/networkMembersTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -211,14 +211,14 @@ export const NetworkMembersTable = ({ nwid }) => {
}

if (conStatus === 2) {
if (peers?.version !== "-1.-1.-1") {
if (peers?.version === "-1.-1.-1") {
return (
<span
style={{ cursor: "pointer" }}
className="text-success"
title="Direct connection established"
>
DIRECT (v{peers?.version})
DIRECT
</span>
);
}
Expand All @@ -228,7 +228,7 @@ export const NetworkMembersTable = ({ nwid }) => {
className="text-success"
title="Direct connection established"
>
DIRECT
DIRECT (v{peers?.version})
</span>
);
}
Expand Down

0 comments on commit bf269a0

Please sign in to comment.