You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import { Component, Input } from '@angular/core';
|
|
|
|
import { Router } from '@angular/router';
|
|
|
|
|
|
|
|
import { ChannelCL } from '../../../shared/models/clModels';
|
|
|
|
|
|
|
|
@Component({
|
|
|
|
selector: 'rtl-cl-channel-liquidity-info',
|
|
|
|
templateUrl: './channel-liquidity-info.component.html',
|
|
|
|
styleUrls: ['./channel-liquidity-info.component.scss']
|
|
|
|
})
|
|
|
|
export class CLChannelLiquidityInfoComponent {
|
|
|
|
@Input() direction: string;
|
|
|
|
@Input() totalLiquidity: number;
|
|
|
|
@Input() allChannels: ChannelCL[];
|
|
|
|
|
|
|
|
constructor(private router: Router) {}
|
|
|
|
|
|
|
|
goToChannels() {
|
|
|
|
this.router.navigateByUrl('/lnd/peerschannels');
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|