Bring back Dropdown used to copy (#3843)
parent
358d733b5f
commit
fb2ed0b5ad
|
@ -6,7 +6,7 @@ import { GroupBase, Props } from "react-select";
|
||||||
import dayjs, { Dayjs, ConfigType } from "@calcom/dayjs";
|
import dayjs, { Dayjs, ConfigType } from "@calcom/dayjs";
|
||||||
import { useLocale } from "@calcom/lib/hooks/useLocale";
|
import { useLocale } from "@calcom/lib/hooks/useLocale";
|
||||||
import Button from "@calcom/ui/Button";
|
import Button from "@calcom/ui/Button";
|
||||||
import Dropdown, { DropdownMenuContent } from "@calcom/ui/Dropdown";
|
import Dropdown, { DropdownMenuContent, DropdownMenuTrigger } from "@calcom/ui/Dropdown";
|
||||||
import { Icon } from "@calcom/ui/Icon";
|
import { Icon } from "@calcom/ui/Icon";
|
||||||
import { Tooltip } from "@calcom/ui/Tooltip";
|
import { Tooltip } from "@calcom/ui/Tooltip";
|
||||||
|
|
||||||
|
@ -254,13 +254,15 @@ export const DayRanges = ({
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
<Dropdown>
|
<Dropdown>
|
||||||
<Tooltip content={t("duplicate") as string}>
|
<Tooltip content={t("duplicate") as string}>
|
||||||
<Button
|
<DropdownMenuTrigger asChild>
|
||||||
type="button"
|
<Button
|
||||||
color="minimal"
|
type="button"
|
||||||
size="icon"
|
color="minimal"
|
||||||
StartIcon={Icon.FiCopy}
|
size="icon"
|
||||||
onClick={handleAppend}
|
StartIcon={Icon.FiCopy}
|
||||||
/>
|
onClick={handleAppend}
|
||||||
|
/>
|
||||||
|
</DropdownMenuTrigger>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
<DropdownMenuContent>
|
<DropdownMenuContent>
|
||||||
<CopyTimes
|
<CopyTimes
|
||||||
|
|
Loading…
Reference in New Issue