[Node page] Add link to node list per country/isp in node page

This commit is contained in:
nymkappa
2022-07-26 12:26:44 +02:00
parent 65cd708295
commit 6341839de4
4 changed files with 24 additions and 4 deletions

View File

@@ -3,6 +3,7 @@ import { ActivatedRoute, ParamMap } from '@angular/router';
import { Observable } from 'rxjs';
import { catchError, map, switchMap } from 'rxjs/operators';
import { SeoService } from 'src/app/services/seo.service';
import { getFlagEmoji } from 'src/app/shared/graphs.utils';
import { LightningApiService } from '../lightning-api.service';
@Component({
@@ -51,6 +52,7 @@ export class NodeComponent implements OnInit {
} else if (socket.indexOf('onion') > -1) {
label = 'Tor';
}
node.flag = getFlagEmoji(node.iso_code);
socketsObject.push({
label: label,
socket: node.public_key + '@' + socket,