Label channel closes

This commit is contained in:
softsimon
2022-06-30 00:35:27 +02:00
parent 8ef5e7425b
commit f630754aa3
7 changed files with 26 additions and 14 deletions

View File

@@ -34,7 +34,8 @@ export class AddressLabelsComponent implements OnChanges {
}
handleChannel() {
this.label = `Channel open: ${this.channel.node_left.alias} <> ${this.channel.node_right.alias}`;
const type = this.vout ? 'open' : 'close';
this.label = `Channel ${type}: ${this.channel.node_left.alias} <> ${this.channel.node_right.alias}`;
}
handleVin() {