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.
23 lines
742 B
TypeScript
23 lines
742 B
TypeScript
4 years ago
|
import { Component, OnChanges, Input } from '@angular/core';
|
||
|
import { faBalanceScale, faDumbbell } from '@fortawesome/free-solid-svg-icons';
|
||
|
|
||
|
import { ChannelCL } from '../../../shared/models/clModels';
|
||
|
|
||
|
@Component({
|
||
|
selector: 'rtl-cl-channel-capacity-info',
|
||
|
templateUrl: './channel-capacity-info.component.html',
|
||
|
styleUrls: ['./channel-capacity-info.component.scss']
|
||
|
})
|
||
|
export class CLChannelCapacityInfoComponent implements OnChanges {
|
||
|
public faBalanceScale = faBalanceScale;
|
||
|
public faDumbbell = faDumbbell;
|
||
|
@Input() channelBalances: {localBalance: number, remoteBalance: number, balancedness: string};
|
||
|
@Input() allChannels: ChannelCL[];
|
||
|
@Input() sortBy: string = 'Balance Score';
|
||
|
|
||
|
constructor() {}
|
||
|
|
||
|
ngOnChanges() {}
|
||
|
|
||
|
}
|