[Node page] Update channels count when switching between open/closed

This commit is contained in:
nymkappa
2022-07-24 11:51:05 +02:00
parent 0f91778970
commit 479f635754
4 changed files with 21 additions and 7 deletions

View File

@@ -18,6 +18,7 @@ export class NodeComponent implements OnInit {
selectedSocketIndex = 0;
qrCodeVisible = false;
channelsListMode = 'list';
channelsListStatus: string;
constructor(
private lightningApiService: LightningApiService,
@@ -69,4 +70,8 @@ export class NodeComponent implements OnInit {
this.channelsListMode = 'list';
}
}
onChannelsListStatusChanged(e) {
this.channelsListStatus = e;
}
}