Skip to content
Snippets Groups Projects
Commit ca41aec5 authored by Alexander Reifschneider's avatar Alexander Reifschneider
Browse files

OZG-7712 Fix reloading bug

parent 2a40d65b
Branches
Tags
1 merge request!101OZG-7712 Fix reloading bug
......@@ -168,12 +168,6 @@ describe('KeycloakResourceService', () => {
});
describe('handleLoading', () => {
it('should set loading', () => {
service.handleLoading(dummyAction);
expect(service.stateResource.value.loading).toBe(true);
});
it('should call refreshAfterFirstEmit', () => {
service.refreshAfterFirstEmit = jest.fn().mockReturnValue(dummyAction);
......
......@@ -70,7 +70,6 @@ export abstract class KeycloakResourceService<T> {
protected abstract _deleteInKeycloak(id: string): Observable<void>;
handleLoading<D>(action: Observable<D>): Observable<StateResource<D>> {
this.setLoading();
return this.setLoadingInStateResource<D>(this.refreshAfterFirstEmit<D>(action));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment