Skip to content
Snippets Groups Projects
Verified Commit 71a443fc authored by Sebastian Bergandy's avatar Sebastian Bergandy :keyboard:
Browse files

OZG-7591 move rxjs operator

parent a2c4e1b5
Branches
Tags 2.20.0-alfa
1 merge request!104Administration: Neu hinzugefügte Felder für Statistik speichern
......@@ -102,8 +102,8 @@ export class ResourceListService<B extends Resource, T extends ListResource, I e
this.verifyBeforeCreation();
return this.repository.createResource(this.buildCreateResourceData(toCreate, this.config.createLinkRel)).pipe(
map((listItemResource: I) => createStateResource(listItemResource)),
startWith(createEmptyStateResource<I>(true)),
catchError((error: ProblemDetail) => this._handleError(error)),
startWith(createEmptyStateResource<I>(true)),
);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment