@csmart/ngc-smart-core 1.14.32 → 1.14.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -18,7 +18,7 @@ import { MatMenuModule } from '@angular/material/menu';
|
|
|
18
18
|
import * as i1 from '@angular/common/http';
|
|
19
19
|
import { HttpHeaders, HttpClientModule } from '@angular/common/http';
|
|
20
20
|
import { Subject, from, of, lastValueFrom, throwError, EMPTY, concat } from 'rxjs';
|
|
21
|
-
import { map,
|
|
21
|
+
import { map, switchMap, catchError, take, mergeMap, retryWhen, delay } from 'rxjs/operators';
|
|
22
22
|
import { connectToChild } from 'penpal';
|
|
23
23
|
import * as i2 from '@azure/msal-angular';
|
|
24
24
|
import * as i8$1 from '@angular/forms';
|
|
@@ -199,7 +199,7 @@ class XdmService {
|
|
|
199
199
|
return this.offenderQuerySubject.asObservable();
|
|
200
200
|
}
|
|
201
201
|
setSelectedOffenderFromRoute(offenderId, intakeFlag) {
|
|
202
|
-
return from(this.getLoginStaff()).pipe(
|
|
202
|
+
return from(this.getLoginStaff()).pipe(switchMap(loginStaff => {
|
|
203
203
|
const queryString = `{
|
|
204
204
|
getSelectedOffender(input: {
|
|
205
205
|
offenderId: ${offenderId},
|