We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9d9775 commit 644fbe3Copy full SHA for 644fbe3
1 file changed
src/Exceptionless.Web/ClientApp/src/lib/features/organizations/api.svelte.ts
@@ -359,10 +359,6 @@ export function postOrganization() {
359
onSuccess: (organization: ViewOrganization) => {
360
queryClient.setQueryData(queryKeys.id(organization.id, 'stats'), organization);
361
queryClient.setQueryData(queryKeys.id(organization.id, undefined), organization);
362
- // Invalidate organizations list so it includes the new org
363
- queryClient.invalidateQueries({ queryKey: queryKeys.type });
364
- // Invalidate user query since organization_ids changed on the backend
365
- queryClient.invalidateQueries({ queryKey: userQueryKeys });
366
}
367
}));
368
0 commit comments