Skip to content

Commit

Permalink
fix(ui): checks truthy value for last ingested (#10840)
Browse files Browse the repository at this point in the history
Co-authored-by: Harshal Sheth <[email protected]>
  • Loading branch information
pinakipb2 and hsheth2 authored Aug 20, 2024
1 parent 7d08ee2 commit a2ed732
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const EntitySidebar = <T,>({ sidebarSections, topSection }: Props) => {
return (
<>
{topSection && <topSection.component key={`${topSection.component}`} properties={topSection.properties} />}
{entityData?.lastIngested && (
{!!entityData?.lastIngested && (
<LastIngestedSection>
<LastIngested lastIngested={entityData.lastIngested} />
</LastIngestedSection>
Expand Down

0 comments on commit a2ed732

Please sign in to comment.