+ observable.subscribe(
+ (response: any) => {
+ this.processing = false;
+ this.notifService.success('Connect succeeded!');
+ this.dialogRef.close(true);
+ },
+ ( (error: HttpErrorResponse) => {
+ this.processing = false;
+ this.errorService.displayError('RAN Connection Failed: ' + error.message);
+ // keep the dialog open
+ })
+ );