ing
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { Component, Input, Output, EventEmitter, AfterContentInit, OnInit, OnDestroy } from '@angular/core';
|
||||
import { Store, select } from '@ngrx/store';
|
||||
import { Observable, of, Subscription } from 'rxjs';
|
||||
import { catchError, exhaustMap, map, tap } from 'rxjs/operators';
|
||||
import { catchError, exhaustMap, map, tap, take } from 'rxjs/operators';
|
||||
import { ConfirmationService, Message } from 'primeng/primeng';
|
||||
|
||||
import { NoAuthProbe } from '@overflow/commons-typescript/model/noauth';
|
||||
@@ -53,7 +53,8 @@ export class NoAuthProbeListComponent implements OnInit, OnDestroy {
|
||||
tap(() => {
|
||||
this.pending$ = of(false);
|
||||
}),
|
||||
).take(1).subscribe();
|
||||
take(1),
|
||||
).subscribe();
|
||||
|
||||
this.noauthProbeSubscription = this.noAuthProbeSubscriber.observable().pipe(
|
||||
tap((noAuthProbeNotify: NoAuthProbeNotify) => {
|
||||
@@ -104,7 +105,8 @@ export class NoAuthProbeListComponent implements OnInit, OnDestroy {
|
||||
tap(() => {
|
||||
this.pending$ = of(false);
|
||||
}),
|
||||
).take(1).subscribe();
|
||||
take(1),
|
||||
).subscribe();
|
||||
} else {
|
||||
this.noAuthProbeService.denyNoauthProbe(selected.id)
|
||||
.pipe(
|
||||
@@ -121,7 +123,8 @@ export class NoAuthProbeListComponent implements OnInit, OnDestroy {
|
||||
tap(() => {
|
||||
this.pending$ = of(false);
|
||||
}),
|
||||
).take(1).subscribe();
|
||||
take(1),
|
||||
).subscribe();
|
||||
}
|
||||
},
|
||||
reject: () => {
|
||||
|
||||
Reference in New Issue
Block a user