+
{getInitials(attendee.first_name + ' ' + attendee.last_name)}
@@ -35,4 +35,4 @@ export const AttendeeList = ({order, tickets}: { order: Order, tickets: Ticket[]
))}
)
-}
\ No newline at end of file
+}
diff --git a/frontend/src/components/forms/CapaciyAssigmentForm/index.tsx b/frontend/src/components/forms/CapaciyAssigmentForm/index.tsx
index 4d974dfd..6645dbf5 100644
--- a/frontend/src/components/forms/CapaciyAssigmentForm/index.tsx
+++ b/frontend/src/components/forms/CapaciyAssigmentForm/index.tsx
@@ -1,17 +1,17 @@
import {InputGroup} from "../../common/InputGroup";
-import {MultiSelect, NumberInput, Switch, TextInput} from "@mantine/core";
+import {MultiSelect, NumberInput, TextInput} from "@mantine/core";
import {t} from "@lingui/macro";
import {UseFormReturnType} from "@mantine/form";
import {CapacityAssignmentRequest, Ticket} from "../../../types.ts";
import {CustomSelect, ItemProps} from "../../common/CustomSelect";
import {IconCheck, IconTicket, IconX} from "@tabler/icons-react";
-interface CapaciyAssigmentFormProps {
+interface CapacityAssigmentFormProps {
form: UseFormReturnType
;
tickets: Ticket[],
}
-export const CapaciyAssigmentForm = ({form, tickets}: CapaciyAssigmentFormProps) => {
+export const CapacityAssigmentForm = ({form, tickets}: CapacityAssigmentFormProps) => {
const statusOptions: ItemProps[] = [
{
icon: ,
@@ -23,7 +23,7 @@ export const CapaciyAssigmentForm = ({form, tickets}: CapaciyAssigmentFormProps)
icon: ,
label: t`Inactive`,
value: 'INACTIVE',
- description: t`Disable this capacity track capacity without stopping ticket sales`,
+ description: t`Disabling this capacity will track sales but not stop them when the limit is reached`,
},
];
diff --git a/frontend/src/components/modals/CreateCapacityAssignmentModal/index.tsx b/frontend/src/components/modals/CreateCapacityAssignmentModal/index.tsx
index 04c1ebfa..7e15235d 100644
--- a/frontend/src/components/modals/CreateCapacityAssignmentModal/index.tsx
+++ b/frontend/src/components/modals/CreateCapacityAssignmentModal/index.tsx
@@ -1,7 +1,7 @@
import {CapacityAssignmentRequest, GenericModalProps, Ticket} from "../../../types.ts";
import {Modal} from "../../common/Modal";
import {t} from "@lingui/macro";
-import {CapaciyAssigmentForm} from "../../forms/CapaciyAssigmentForm";
+import {CapacityAssigmentForm} from "../../forms/CapaciyAssigmentForm";
import {useForm} from "@mantine/form";
import {Button} from "@mantine/core";
import {useCreateCapacityAssignment} from "../../../mutations/useCreateCapacityAssignment.ts";
@@ -69,7 +69,7 @@ export const CreateCapacityAssignmentModal = ({onClose}: GenericModalProps) => {
{!eventHasTickets && }
{eventHasTickets && (