TSK-1679: Prevent multiple calls of getClassifications
This commit is contained in:
parent
523b610813
commit
4c062520c7
|
@ -99,6 +99,7 @@ export class ClassificationState implements NgxsAfterBootstrap {
|
|||
getClassifications(ctx: StateContext<ClassificationStateModel>): Observable<any> {
|
||||
const { selectedClassificationType } = ctx.getState();
|
||||
return this.domainService.getSelectedDomain().pipe(
|
||||
take(1),
|
||||
mergeMap((domain) => {
|
||||
const filter: ClassificationQueryFilterParameter = {
|
||||
domain: [domain],
|
||||
|
|
Loading…
Reference in New Issue