Dont default empty state (#7217)
parent
2fe54ded15
commit
55ee939cf9
|
@ -152,14 +152,11 @@ export const EventSetupTab = (
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
|
|
||||||
const defaultValue = getDefaultLocationValue(locationOptions, "integrations:daily");
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="w-full">
|
<div className="w-full">
|
||||||
{validLocations.length === 0 && (
|
{validLocations.length === 0 && (
|
||||||
<div className="flex">
|
<div className="flex">
|
||||||
<LocationSelect
|
<LocationSelect
|
||||||
defaultValue={defaultValue}
|
|
||||||
placeholder={t("select")}
|
placeholder={t("select")}
|
||||||
options={locationOptions}
|
options={locationOptions}
|
||||||
isSearchable={false}
|
isSearchable={false}
|
||||||
|
|
Loading…
Reference in New Issue