ing
This commit is contained in:
@@ -30,6 +30,7 @@ export class NoAuthProbeListComponent implements OnInit, OnDestroy {
|
||||
private noAuthProbeSubscriber: NoAuthProbeSubscriber,
|
||||
) {
|
||||
this.noauthProbes = [];
|
||||
this.noauthProbeSubscription = null;
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
@@ -75,7 +76,9 @@ export class NoAuthProbeListComponent implements OnInit, OnDestroy {
|
||||
}
|
||||
|
||||
ngOnDestroy(): void {
|
||||
this.noauthProbeSubscription.unsubscribe();
|
||||
if (null !== this.noauthProbeSubscription) {
|
||||
this.noauthProbeSubscription.unsubscribe();
|
||||
}
|
||||
}
|
||||
|
||||
onAcceptOrDeny(isAccept: boolean, selected: NoAuthProbe) {
|
||||
|
||||
Reference in New Issue
Block a user