import { ChangeDetectionStrategy , Component } from '@angular/core' ; import { ChannelsV2Service } from '../channels-v2.service' ; import { WireModalService } from '../../../wire/wire-modal.service' ; /**
 * Wire (pay) button (non-owner)
 */ @ Component ( { selector : 'm-channelActions__wire' , changeDetection : ChangeDetectionStrategy . OnPush , templateUrl : 'wire.component.html' , styleUrls : [ 'wire.component.ng.scss' ] , } ) export class ChannelActionsWireComponent { param service param wireModal constructor ( public service , protected wireModal ) { } /**
     * Wires the active channel
     */ async wire ( ) { await this . wireModal . present ( this . service . channel$ . getValue ( ) ) . toPromise ( ) ; } }