Merge pull request #5199 from Dokploy/fix/org-form-unsaved-reset-window-focus-5146

fix: unsaved organization form fields reset on window visibility change
This commit is contained in:
Mauricio Siu
2026-08-27 01:31:42 -06:00
committed by GitHub
@@ -48,6 +48,7 @@ export function AddOrganization({ organizationId }: Props) {
}, },
{ {
enabled: !!organizationId, enabled: !!organizationId,
refetchOnWindowFocus: false,
}, },
); );
const { mutateAsync, isPending } = organizationId const { mutateAsync, isPending } = organizationId