diff --git a/src/app/partials/node-connections/node-connections.component.ts b/src/app/partials/node-connections/node-connections.component.ts index a75aae9..a3759e3 100644 --- a/src/app/partials/node-connections/node-connections.component.ts +++ b/src/app/partials/node-connections/node-connections.component.ts @@ -77,9 +77,8 @@ export class NodeConnectionsComponent implements OnInit { buildNodes() { for (let node of this.nodeOwners) { - let data = this.lnData - .getNodeInfo(node.pub_key) - .subscribe((data: NodeInfo) => { + let data = this.lnData.getNodeInfo(node.pub_key).subscribe({ + next: (data: NodeInfo) => { let label; //if (this.viewMode == 'node') { @@ -114,7 +113,11 @@ export class NodeConnectionsComponent implements OnInit { continue channelloop; } } - }); + }, + error: (err) => { + console.log('Error', err); + }, + }); } } } diff --git a/src/app/partials/participant-table/participant-table.component.html b/src/app/partials/participant-table/participant-table.component.html index 799341d..841eb46 100644 --- a/src/app/partials/participant-table/participant-table.component.html +++ b/src/app/partials/participant-table/participant-table.component.html @@ -12,7 +12,7 @@
@@ -27,22 +27,22 @@