diff --git a/packages/client/src/components/admin/values/ManageValueModal.tsx b/packages/client/src/components/admin/values/ManageValueModal.tsx index 2c374359d..0a6abf02b 100644 --- a/packages/client/src/components/admin/values/ManageValueModal.tsx +++ b/packages/client/src/components/admin/values/ManageValueModal.tsx @@ -71,11 +71,6 @@ const DEPARTMENT_TYPES = Object.values(DepartmentType).map((v) => ({ value: v, })); -const POSITION_VALUES = new Array(50).fill(0).map((_, idx) => ({ - value: String(idx + 1), - label: String(idx + 1), -})); - export const ManageValueModal = ({ onCreate, onUpdate, clType: dlType, type, value }: Props) => { const { state, execute } = useFetch(); const { isOpen, closeModal } = useModal(); @@ -115,8 +110,6 @@ export const ManageValueModal = ({ onCreate, onUpdate, clType: dlType, type, val as: typeof value?.value === "string" ? "" : value && "as" in value ? value.as : "", shouldDo: typeof value?.value === "string" ? "" : value && "shouldDo" in value ? value.shouldDo : "", - position: - typeof value?.value === "string" ? "" : value && "position" in value ? value.position : "", departmentId: typeof value?.value === "string" ? "" @@ -220,15 +213,6 @@ export const ManageValueModal = ({ onCreate, onUpdate, clType: dlType, type, val /> - -