feat: use cal video as the default location (#6643)
* feat: use cal video as default while creating new events * feat: use cal video as default value * chore: remove default value * fix: default value logic * chore: remove console.log
This commit is contained in:
1 parent
905a110377
commit
796a5f8d51
2 files changed
+5
-7
No files matched your search
@@ -139,11 +139,13 @@ export const EventSetupTab = (
|
||||
return true;
|
||||
});
|
||||
|
||||
const defaultValue = locationOptions.find((item) => item.label === "video")?.options;
|
||||
return (
|
||||
<div className="w-full">
|
||||
{validLocations.length === 0 && (
|
||||
<div className="flex">
|
||||
<LocationSelect
|
||||
defaultValue={defaultValue}
|
||||
placeholder={t("select")}
|
||||
options={locationOptions}
|
||||
isSearchable={false}
|
||||
|
||||
Reference in new issue
Block a user