feat: event team Assignment tab atom (#17145)
* feat: event team Assignment tab atom * Update event-types-atom.service.ts * Update event-types-atom.service.ts
This commit is contained in:
1 parent
497b0804d3
commit
9a5efd39ce
11 files changed
+139
-22
No files matched your search
@@ -21,6 +21,8 @@ import { useLocale } from "@calcom/lib/hooks/useLocale";
|
||||
import { SchedulingType } from "@calcom/prisma/enums";
|
||||
import { Label, Select, SettingsToggle } from "@calcom/ui";
|
||||
|
||||
export type EventTeamAssignmentTabBaseProps = Pick<EventTypeSetupProps, "teamMembers" | "team" | "eventType">;
|
||||
|
||||
export const mapMemberToChildrenOption = (
|
||||
member: EventTypeSetupProps["teamMembers"][number],
|
||||
slug: string,
|
||||
@@ -427,11 +429,7 @@ const Hosts = ({
|
||||
);
|
||||
};
|
||||
|
||||
export const EventTeamAssignmentTab = ({
|
||||
team,
|
||||
teamMembers,
|
||||
eventType,
|
||||
}: Pick<EventTypeSetupProps, "teamMembers" | "team" | "eventType">) => {
|
||||
export const EventTeamAssignmentTab = ({ team, teamMembers, eventType }: EventTeamAssignmentTabBaseProps) => {
|
||||
const { t } = useLocale();
|
||||
|
||||
const schedulingTypeOptions: {
|
||||
|
||||
Reference in new issue
Block a user