ing
This commit is contained in:
@@ -6,10 +6,9 @@ import { Anim } from './animation';
|
||||
import { Store, select } from '@ngrx/store';
|
||||
import { Observable, of, Subscription } from 'rxjs';
|
||||
import { DiscoveryService } from '../service/discovery.service';
|
||||
import { DiscoveryNotify } from '../subscriber/discovery.subscriber.subject';
|
||||
import { catchError, exhaustMap, map, tap } from 'rxjs/operators';
|
||||
import { DiscoverZone, Zone, Host, Port, Service } from '@overflow/commons-typescript/model/discovery';
|
||||
import { DiscoverySubscriber } from '../subscriber/discovery.subscriber';
|
||||
import { DiscoverySubscriber, DiscoveryNotify } from '../subscriber/discovery.subscriber';
|
||||
|
||||
@Component({
|
||||
selector: 'of-discovery',
|
||||
@@ -39,9 +38,7 @@ export class DiscoveryComponent {
|
||||
|
||||
this.requested = true;
|
||||
|
||||
const discovery$ = this.discoverySubscriber.subscribe();
|
||||
|
||||
discovery$.pipe(
|
||||
this.discoverySubscriber.observable().pipe(
|
||||
tap(() => {
|
||||
this.discoveryService.discoverZone(this.selectedProbe.probe.probeKey, dz);
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user