Merge branch 'develop' into feature/tauri-beta-update
This commit is contained in:
@@ -181,6 +181,8 @@
|
||||
Get Help
|
||||
</a>
|
||||
|
||||
<!--
|
||||
TODO: "View Active" button is broken or should have been removed.
|
||||
<div sfngTipUpAnchor="left" class="flex space-x-2 flex-rows">
|
||||
<sfng-tipup key="appSettings-Filter"></sfng-tipup>
|
||||
<sfng-select [ngModel]="viewSetting" (ngModelChange)="viewSettingChange.next($event)"
|
||||
@@ -193,6 +195,7 @@
|
||||
</sfng-select-item>
|
||||
</sfng-select>
|
||||
</div>
|
||||
-->
|
||||
</div>
|
||||
|
||||
<div class="flex items-center text-tertiary">
|
||||
|
||||
@@ -195,6 +195,8 @@ export class MapRendererComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||
data.forEach((country: any) => {
|
||||
this.countryNames[country.properties.iso_a2] = country.properties.name
|
||||
})
|
||||
// Add special country values.
|
||||
this.countryNames["__"] = "Anycast"
|
||||
|
||||
this.worldGroup.selectAll()
|
||||
.data<GeoPermissibleObjects>(data)
|
||||
|
||||
@@ -94,7 +94,7 @@ export class AppIconComponent implements OnInit, OnDestroy {
|
||||
this._profile = p || null;
|
||||
|
||||
if (this.initDone) {
|
||||
this.updateView(true);
|
||||
this.updateView();
|
||||
}
|
||||
}
|
||||
get profile(): IDandName | null | undefined {
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -11,6 +11,9 @@ export class ConnectionLocationPipe implements PipeTransform {
|
||||
return '';
|
||||
}
|
||||
if (!!conn.country) {
|
||||
if (conn.country === "__") {
|
||||
return "Anycast"
|
||||
}
|
||||
return conn.country;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user