Skip to content
Snippets Groups Projects
Commit b00c2b1c authored by Albert Bruns's avatar Albert Bruns
Browse files

OZG-7474-7706 bugfix

parent 81dc7816
Branches
Tags
1 merge request!51OZG-7472-7706-bugfix
......@@ -216,7 +216,7 @@ describe('KeycloakResourceService', () => {
it('should clear resource in state', () => {
service.refresh();
expect(service.stateResource.value.resource).toBe(null);
expect(service.stateResource.value.resource).toEqual([]);
});
});
......
......@@ -96,7 +96,7 @@ export abstract class KeycloakResourceService<T> {
refresh(): void {
this.stateResource.next({
...createEmptyStateResource(),
...createStateResource<T[]>([]),
reload: true,
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment