fix duplicate labels
This commit is contained in:
committed by
Peer Richelsen
parent
d69395434f
commit
b2526300a7
@@ -134,7 +134,10 @@ export const EventAdvancedTab = ({ eventType, team }: Pick<EventTypeSetupProps,
|
||||
{!!connectedCalendarsQuery.data?.connectedCalendars.length && !team && (
|
||||
<div className="flex flex-col">
|
||||
<div className="flex justify-between">
|
||||
<Label className="font-medium">{t("add_to_calendar")}</Label>
|
||||
<div>
|
||||
<Label className="font-medium">{t("add_to_calendar")}</Label>
|
||||
<p className="text-subtle -mt-2 text-sm">{t("add_to_calendar_description")}</p>
|
||||
</div>
|
||||
<Link
|
||||
href="/apps/categories/calendar"
|
||||
target="_blank"
|
||||
|
||||
@@ -128,7 +128,6 @@ const DestinationCalendarSelector = ({
|
||||
|
||||
return (
|
||||
<div className="relative" title={`${t("create_events_on")}: ${selectedOption?.label || ""}`}>
|
||||
<p className="text-sm font-medium leading-none">{t("add_events_to")}</p>
|
||||
<Select
|
||||
name="primarySelectedCalendar"
|
||||
placeholder={
|
||||
@@ -138,7 +137,7 @@ const DestinationCalendarSelector = ({
|
||||
<span className="text-default min-w-0 overflow-hidden truncate whitespace-nowrap">
|
||||
<Badge variant="blue">Default</Badge>{" "}
|
||||
{queryDestinationCalendar.name &&
|
||||
`${queryDestinationCalendar?.integrationTitle} - ${queryDestinationCalendar.primaryEmail}`}
|
||||
`${queryDestinationCalendar.name} (${queryDestinationCalendar?.integrationTitle} - ${queryDestinationCalendar.primaryEmail})`}
|
||||
</span>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user