Skip to content

Commit

Permalink
feat(Events): add dropdown sections for all event participants #3
Browse files Browse the repository at this point in the history
  • Loading branch information
simonknittel committed Feb 20, 2025
1 parent c1b2e51 commit 079cd9f
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 15 deletions.
7 changes: 7 additions & 0 deletions app/src/events/components/LineupTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ type Props = Readonly<{
applications: (EventPositionApplication & {
citizen: Entity;
})[];
requiredVariant:
| (Variant & {
series: Series & {
manufacturer: Manufacturer;
};
})
| null;
citizen: Entity | null;
})[];
};
Expand Down
12 changes: 7 additions & 5 deletions app/src/events/components/Position.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@ type Props = Readonly<{
applications: (EventPositionApplication & {
citizen: Entity;
})[];
requiredVariant?: Variant & {
series: Series & {
manufacturer: Manufacturer;
};
};
requiredVariant:
| (Variant & {
series: Series & {
manufacturer: Manufacturer;
};
})
| null;
citizen: Entity | null;
};
showManage?: boolean;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@ import { deleteEventPositionApplicationForCurrentUser } from "../actions/deleteE
type Props = Readonly<{
className?: string;
position: EventPosition & {
requiredVariant?: Variant & {
series: Series & {
manufacturer: Manufacturer;
};
};
requiredVariant:
| (Variant & {
series: Series & {
manufacturer: Manufacturer;
};
})
| null;
};
hasCurrentUserAlreadyApplied?: boolean;
doesCurrentUserSatisfyRequirements?: boolean;
Expand Down
12 changes: 7 additions & 5 deletions app/src/events/components/UpdateEventPositionCitizenId.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,13 @@ type Props = Readonly<{
applications: (EventPositionApplication & {
citizen: Entity;
})[];
requiredVariant?: Variant & {
series: Series & {
manufacturer: Manufacturer;
};
};
requiredVariant:
| (Variant & {
series: Series & {
manufacturer: Manufacturer;
};
})
| null;
};
eventCitizenSatisfyingRequirements: Entity[];
eventCitizenNotSatisfyingRequirements: Entity[];
Expand Down

0 comments on commit 079cd9f

Please # to comment.