Files
rustycms/admin-ui/src/lib/EnvironmentContext.tsx
Peter Meier a1e0287e6d
Some checks failed
Deploy to Server / deploy (push) Failing after 37s
Instant env switch: invalidate all queries on environment change
EnvironmentContext holds current env as React state. On change,
QueryInvalidatorOnEnvChange calls queryClient.invalidateQueries() so
all content/list pages refetch immediately without manual reload.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 22:39:57 +01:00

933 B