refactor: org settings (#11682)

This commit is contained in:
Udit Takkar authored and GitHub committed 2023-10-11 10:04:54 +01:00
1 parent 226ac889c7
commit ebc70feef0
27 files changed
+653 -402

No files matched your search

@@ -126,6 +126,7 @@ 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={
@@ -155,7 +156,7 @@ const DestinationCalendarSelector = ({
}}
isSearchable={false}
className={classNames(
"border-default mb-2 mt-1 block w-full min-w-0 flex-1 rounded-none rounded-r-sm text-sm"
"border-default my-2 block w-full min-w-0 flex-1 rounded-none rounded-r-sm text-sm"
)}
onChange={(newValue) => {
setSelectedOption(newValue);
@@ -176,6 +177,7 @@ const DestinationCalendarSelector = ({
components={{ SingleValue: SingleValueComponent, Option: OptionComponent }}
isMulti={false}
/>
<p className="text-sm leading-tight">{t("you_can_override_calendar_in_advanced_tab")}</p>
</div>
);
};