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

Merge branch 'OZG-7472-7706-bugfix' into 'main'

OZG-7472-7706-bugfix
parents 81dc7816 b00c2b1c
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