import { ChangeDetectionStrategy , Component } from '@angular/core' ; import { ChannelEditService } from './edit.service' ; import { LocationTypeaheadResponse } from '../location-typeahead/location-typeahead.component' ; import { ConfigsService } from '../../../../common/services/configs.service' ; /**
 * About Info accordion pane component
 */ @ Component ( { selector : 'm-channelEdit__info' , changeDetection : ChangeDetectionStrategy . OnPush , templateUrl : 'info.component.html' , } ) export class ChannelEditInfoComponent { public maxNameLength : number ; param service constructor ( public service , configs ) { this . maxNameLength = configs . get ( 'max_name_length' ) ?? 50 ; } param location onLocation ( location ) { this . service . location$ . next ( location . location ) ; this . service . coordinates$ . next ( location . coordinates ) ; } }