Skip to content

Commit

Permalink
fix[fixes #558]: Small fix where path was not passed (#559)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvarchdev authored Sep 25, 2023
1 parent b9726cf commit 995b92e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/src/preview/PropertyPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ export function PropertyPreview<T extends CMSType>(props: PropertyPreviewProps<T
propertyKey,
propertyOrBuilder: inputProperty,
propertyValue: value,
fields: fireCMSContext.fields
fields: fireCMSContext.fields,
path: entity?.path
});

if (value === undefined || property === null) {
Expand Down

0 comments on commit 995b92e

Please sign in to comment.