Skip to content

Commit

Permalink
OpenConceptLab/ocl_issues#1936 | fixing joined event logo
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Oct 4, 2024
1 parent 0d4c5d8 commit 48ee5f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/common/Events.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const Event = ({ event, isFirst, isLast }) => {
</TimelineOppositeContent>
<TimelineSeparator>
{ !isFirst && <TimelineConnector /> }
<TimelineDot sx={{backgroundColor: event.referenced_object?.logo_url ? 'transparent' : (isJoined ? 'primary.main' : 'primary.60'), ...dotStyle}}>
<TimelineDot sx={{backgroundColor: hasReferencedObjectLogo ? 'transparent' : (isJoined ? 'primary.main' : 'primary.60'), ...dotStyle}}>
{
isJoined ?
<EntityIcon entity={event.object} sx={{color: '#FFF'}} logoClassName='user-img-xsmall' /> :
Expand Down

0 comments on commit 48ee5f2

Please sign in to comment.