Skip to content

Commit

Permalink
[desktop/angular] Improve country display in connection details
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaavi committed May 28, 2024
1 parent 7e4e4c4 commit 401e09b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,14 +180,14 @@
<span sfngAddToFilter="remote_ip" [sfngAddToFilterValue]="conn.remote_ip">
<span>Remote Peer:</span>
<span>
<span *ngIf="!!conn.country" [appCountryFlags]="conn.country"></span>
{{ conn.remote_ip || 'DNS Request'}}
<span *ngIf="conn.remote_port" class="text-tertiary">{{ ':'+conn.remote_port }}</span>
</span>
</span>
<span sfngAddToFilter="country" [sfngAddToFilterValue]="conn.country">
<span>Country:</span>
<span>{{ conn.country || 'N/A'}}</span>
<span *ngIf="!!conn.country" [appCountryFlags]="conn.country"></span>
<span>{{ (conn.country | countryName) || 'N/A' }}</span>
</span>
<span sfngAddToFilter="asn" [sfngAddToFilterValue]="conn.asn">
<span>ASN:</span>
Expand Down

0 comments on commit 401e09b

Please sign in to comment.