fix: Duplicate labels for Destination Calendar

This commit is contained in:
Siddharth Movaliya 2023-10-19 12:05:18 +05:30 committed by Peer Richelsen
parent 2720c9cc67
commit d69395434f

View File

@ -138,7 +138,7 @@ const DestinationCalendarSelector = ({
<span className="text-default min-w-0 overflow-hidden truncate whitespace-nowrap"> <span className="text-default min-w-0 overflow-hidden truncate whitespace-nowrap">
<Badge variant="blue">Default</Badge>{" "} <Badge variant="blue">Default</Badge>{" "}
{queryDestinationCalendar.name && {queryDestinationCalendar.name &&
`${queryDestinationCalendar.name} (${queryDestinationCalendar?.integrationTitle} - ${queryDestinationCalendar.primaryEmail})`} `${queryDestinationCalendar?.integrationTitle} - ${queryDestinationCalendar.primaryEmail}`}
</span> </span>
) )
} }