Search fix. Channel update.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<div class="mb-2 box-top">
|
||||
<div class="box-left">
|
||||
<h2 class="mb-0">{{ channel.alias || '?' }}</h2>
|
||||
<h3 class="mb-0">{{ channel.alias || '?' }}</h3>
|
||||
<a [routerLink]="['/lightning/node' | relativeUrl, channel.public_key]" >
|
||||
{{ channel.public_key | shortenString : 12 }}
|
||||
</a>
|
||||
|
||||
@@ -7,10 +7,14 @@ import { WebsocketService } from 'src/app/services/websocket.service';
|
||||
styleUrls: ['./lightning-wrapper.component.scss'],
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
})
|
||||
export class LightningWrapperComponent {
|
||||
export class LightningWrapperComponent implements OnInit {
|
||||
|
||||
constructor(
|
||||
private websocketService: WebsocketService,
|
||||
) { }
|
||||
|
||||
ngOnInit() {
|
||||
this.websocketService.want(['blocks']);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user