Skip to content

Commit

Permalink
fix[fixes firecmsco#558]: Small fix where path was not passed
Browse files Browse the repository at this point in the history
  • Loading branch information
mvarchdev committed Sep 23, 2023
1 parent b9726cf commit 0536d45
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 0536d45

Please sign in to comment.