Capacity: {{channel.remote_balance || 0 | number}} Sats
diff --git a/src/app/lnd/peers-channels/channels/channels-tables/channel-open-table/channel-open-table.component.ts b/src/app/lnd/peers-channels/channels/channels-tables/channel-open-table/channel-open-table.component.ts
index ca5917de..8ae39b87 100644
--- a/src/app/lnd/peers-channels/channels/channels-tables/channel-open-table/channel-open-table.component.ts
+++ b/src/app/lnd/peers-channels/channels/channels-tables/channel-open-table/channel-open-table.component.ts
@@ -1,5 +1,4 @@
import { Component, OnInit, OnDestroy, ViewChild, AfterViewInit } from '@angular/core';
-import { Router } from '@angular/router';
import { DecimalPipe } from '@angular/common';
import { Subject } from 'rxjs';
import { take, takeUntil } from 'rxjs/operators';
@@ -63,10 +62,9 @@ export class ChannelOpenTableComponent implements OnInit, AfterViewInit, OnDestr
public errorMessage = '';
public apiCallStatus: ApiCallStatusPayload = null;
public apiCallStatusEnum = APICallStatusEnum;
- public channelId = null;
private unSubs: Array> = [new Subject(), new Subject(), new Subject(), new Subject(), new Subject(), new Subject(), new Subject(), new Subject(), new Subject()];
- constructor(private logger: LoggerService, private store: Store, private lndEffects: LNDEffects, private commonService: CommonService, private rtlEffects: RTLEffects, private decimalPipe: DecimalPipe, private loopService: LoopService, private router: Router) {
+ constructor(private logger: LoggerService, private store: Store, private lndEffects: LNDEffects, private commonService: CommonService, private rtlEffects: RTLEffects, private decimalPipe: DecimalPipe, private loopService: LoopService) {
this.screenSize = this.commonService.getScreenSize();
if (this.screenSize === ScreenSizeEnum.XS) {
this.flgSticky = false;
@@ -81,7 +79,6 @@ export class ChannelOpenTableComponent implements OnInit, AfterViewInit, OnDestr
this.flgSticky = true;
this.displayedColumns = ['remote_alias', 'uptime', 'total_satoshis_sent', 'total_satoshis_received', 'local_balance', 'remote_balance', 'balancedness', 'actions'];
}
- this.channelId = this.router.getCurrentNavigation().extras?.state?.channelId;
}
ngOnInit() {
@@ -123,11 +120,6 @@ export class ChannelOpenTableComponent implements OnInit, AfterViewInit, OnDestr
if (this.channelsData.length > 0) {
this.loadChannelsTable(this.channelsData);
}
-
- if (this.channelId) {
- this.selFilter = this.channelId;
- this.applyFilter();
- }
}
onViewRemotePolicy(selChannel: Channel) {