Skip to content

Commit

Permalink
fix(ui): data disappearing when form state updates in globals
Browse files Browse the repository at this point in the history
  • Loading branch information
paulpopus committed Dec 3, 2024
1 parent cf34d3a commit 87b33fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/views/Edit/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ export const DefaultEditView: React.FC<ClientSideEditViewProps> = ({
const { state } = await getFormState({
id,
collectionSlug,
data: json?.doc,
data: json?.doc || json?.result,
docPermissions,
docPreferences,
globalSlug,
Expand Down

0 comments on commit 87b33fd

Please sign in to comment.