RED-3485: Fixed edit dossier dictionary
This commit is contained in:
parent
fd8b4852da
commit
d874489e9c
@ -99,11 +99,11 @@ export class DictionaryService extends EntitiesService<Dictionary, IDictionary>
|
||||
const queryParams = dossierId ? [{ key: 'dossierId', value: dossierId }] : undefined;
|
||||
return this._post(body, url, queryParams).pipe(
|
||||
catchError((error: HttpErrorResponse) => this.#addUpdateDictionaryErrorToast(error)),
|
||||
switchMap(dictionary =>
|
||||
switchMap(() =>
|
||||
forkJoin([
|
||||
this._dossierTemplateStatsService.getFor([dossierTemplateId]),
|
||||
this.loadDictionaryDataForDossierTemplate(dossierTemplateId),
|
||||
]).pipe(map(() => this._dictionariesMapService.get(dictionary.dossierTemplateId, dictionary.type))),
|
||||
]).pipe(map(() => this._dictionariesMapService.get(dossierTemplateId, type))),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user