mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-05 07:38:26 +00:00
This commit is contained in:
parent
e7072a3177
commit
325992d086
@ -55,7 +55,7 @@ const EntityVersionTimeLine: React.FC<Props> = ({
|
||||
})}>
|
||||
v{parseFloat(currV?.version).toFixed(1)}
|
||||
</p>
|
||||
<div className="tw-text-xs tw-font-normal">
|
||||
<div className="tw-text-xs tw-font-normal tw-break-all">
|
||||
{getSummary(currV?.changeDescription)}
|
||||
</div>
|
||||
<p className="tw-text-xs tw-italic">
|
||||
|
@ -182,13 +182,19 @@ export const getSummary = (changeDescription: ChangeDescription) => {
|
||||
return (
|
||||
<Fragment>
|
||||
{fieldsAdded?.length > 0 ? (
|
||||
<p>{fieldsAdded?.map(summaryFormatter)} has been added</p>
|
||||
<p className="tw-mb-2">
|
||||
{fieldsAdded?.map(summaryFormatter)} has been added
|
||||
</p>
|
||||
) : null}
|
||||
{fieldsUpdated?.length ? (
|
||||
<p>{fieldsUpdated?.map(summaryFormatter)} has been updated</p>
|
||||
<p className="tw-mb-2">
|
||||
{fieldsUpdated?.map(summaryFormatter)} has been updated
|
||||
</p>
|
||||
) : null}
|
||||
{fieldsDeleted?.length ? (
|
||||
<p>{fieldsDeleted?.map(summaryFormatter)} has been deleted</p>
|
||||
<p className="tw-mb-2">
|
||||
{fieldsDeleted?.map(summaryFormatter)} has been deleted
|
||||
</p>
|
||||
) : null}
|
||||
</Fragment>
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user