mirror of
https://github.com/datahub-project/datahub.git
synced 2025-09-01 05:13:15 +00:00
fix(ui): checks truthy value for last ingested (#10840)
Co-authored-by: Harshal Sheth <hsheth2@gmail.com>
This commit is contained in:
parent
7d08ee2ba1
commit
a2ed732c15
@ -46,7 +46,7 @@ export const EntitySidebar = <T,>({ sidebarSections, topSection }: Props) => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{topSection && <topSection.component key={`${topSection.component}`} properties={topSection.properties} />}
|
{topSection && <topSection.component key={`${topSection.component}`} properties={topSection.properties} />}
|
||||||
{entityData?.lastIngested && (
|
{!!entityData?.lastIngested && (
|
||||||
<LastIngestedSection>
|
<LastIngestedSection>
|
||||||
<LastIngested lastIngested={entityData.lastIngested} />
|
<LastIngested lastIngested={entityData.lastIngested} />
|
||||||
</LastIngestedSection>
|
</LastIngestedSection>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user