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
|
<ObjectProperty
|
||||||
{...changeProperty}
|
{...changeProperty}
|
||||||
longId={false}
|
longId={false}
|
||||||
|
minimal={true}
|
||||||
objectData={value?.old}
|
objectData={value?.old}
|
||||||
/>
|
/>
|
||||||
) : null}
|
) : null}
|
||||||
@ -69,6 +70,7 @@ const PropertyChanges = ({ type, value }) => {
|
|||||||
<ObjectProperty
|
<ObjectProperty
|
||||||
{...changeProperty}
|
{...changeProperty}
|
||||||
longId={false}
|
longId={false}
|
||||||
|
minimal={true}
|
||||||
objectData={value?.new}
|
objectData={value?.new}
|
||||||
/>
|
/>
|
||||||
) : null}
|
) : null}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user