Skip to content

Commit

Permalink
Merge pull request #67 from socialappslab/fix/427/remove-team-lider
Browse files Browse the repository at this point in the history
fix: Remove team leader
  • Loading branch information
zant authored Nov 12, 2024
2 parents b16bf57 + f4e6002 commit 2e4c794
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
10 changes: 0 additions & 10 deletions src/components/dialog/CreateTeamDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,16 +202,6 @@ export function CreateTeamDialog({ handleClose, updateTable }: CreateTeamDialogP
options={userOptions}
/>
</Grid>
<Grid item xs={12} sm={12}>
<FormSelect
name="leaderId"
className="mt-2"
label={t('admin:teams.form.team_leader')}
loading={loadingUsers}
options={userOptions}
placeholder={t('admin:teams.form.team_leader_placeholder')}
/>
</Grid>
<Grid item xs={12} sm={12}>
<FormSelect
name="organizationId"
Expand Down
2 changes: 0 additions & 2 deletions src/schemas/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ export const createTeamSchema = () => {
return object({
name: requiredNameString,
organizationId: string(),
leaderId: string(),
sectorId: string(),
wedgeId: string(),
memberIds: array(object({ label: string(), value: string() })).min(1),
Expand All @@ -62,7 +61,6 @@ export type CreateTeamInputType = TypeOf<typeof createTeamSchemaForType>;
export interface CreateTeam {
name: string;
organizationId: string;
leaderId: string;
sectorId: string;
wedgeId: string;
memberIds: string[];
Expand Down

0 comments on commit 2e4c794

Please sign in to comment.