Enhance PropertyChanges component to support minimal rendering

- Added a 'minimal' prop to ObjectProperty components within PropertyChanges for improved rendering control.
- Updated both old and new object data displays to utilize the new 'minimal' prop, enhancing component flexibility.
This commit is contained in:
Tom Butcher 2025-08-18 01:03:54 +01:00
parent 11c76a0725
commit 8e823603f7

View File

@ -57,6 +57,7 @@ const PropertyChanges = ({ type, value }) => {
<ObjectProperty
{...changeProperty}
longId={false}
minimal={true}
objectData={value?.old}
/>
) : null}
@ -69,6 +70,7 @@ const PropertyChanges = ({ type, value }) => {
<ObjectProperty
{...changeProperty}
longId={false}
minimal={true}
objectData={value?.new}
/>
) : null}