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:
parent
11c76a0725
commit
8e823603f7
@ -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}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user