diff --git a/frontend/src/Components/Dropdown/index.ts b/frontend/src/Components/Dropdown/index.ts index c11eca394..73287634f 100644 --- a/frontend/src/Components/Dropdown/index.ts +++ b/frontend/src/Components/Dropdown/index.ts @@ -1,2 +1,2 @@ export { Dropdown } from './Dropdown'; -export type { DropdownProps } from './Dropdown'; +export type { DropdownProps, DropdownOption } from './Dropdown'; diff --git a/frontend/src/Components/index.ts b/frontend/src/Components/index.ts index f1cffc04e..8ccd87139 100644 --- a/frontend/src/Components/index.ts +++ b/frontend/src/Components/index.ts @@ -1,4 +1,3 @@ -export { RecruitmentApplicantsStatus } from '../PagesAdmin/RecruitmentPositionOverviewPage/components/RecruitmentApplicantsStatus'; export { AccessDenied } from './AccessDenied'; export { AdminBox } from './AdminBox'; export { Alert } from './Alert'; @@ -63,6 +62,7 @@ export { SamfundetLogo } from './SamfundetLogo'; export { SamfundetLogoSpinner } from './SamfundetLogoSpinner'; export { useScrollToTop } from './ScrollToTop'; export { Select } from './Select'; +export { SetInterviewManuallyModal } from './SetInterviewManually'; export { Skeleton } from './Skeleton'; export { SpinningBorder } from './SpinningBorder'; export { SplashHeaderBox } from './SplashHeaderBox'; @@ -89,7 +89,7 @@ export { Video } from './Video'; // Props export type { CheckboxProps } from './Checkbox'; -export type { DropdownProps } from './Dropdown'; +export type { DropdownOption, DropdownProps } from './Dropdown'; export type { ImagePickerProps } from './ImagePicker/ImagePicker'; export type { InputFieldProps } from './InputField'; export type { InputFileProps } from './InputFile'; diff --git a/frontend/src/PagesAdmin/RecruitmentPositionOverviewPage/RecruitmentPositionOverviewPage.module.scss b/frontend/src/PagesAdmin/RecruitmentPositionOverviewPage/RecruitmentPositionOverviewPage.module.scss index 6b0ad0f2d..214a789a8 100644 --- a/frontend/src/PagesAdmin/RecruitmentPositionOverviewPage/RecruitmentPositionOverviewPage.module.scss +++ b/frontend/src/PagesAdmin/RecruitmentPositionOverviewPage/RecruitmentPositionOverviewPage.module.scss @@ -1,10 +1,3 @@ -.container { - display: flex; - flex-direction: column; - flex-wrap: wrap; - gap: 1rem; -} - .sub_container { margin-top: 1.5em; } diff --git a/frontend/src/PagesAdmin/RecruitmentPositionOverviewPage/RecruitmentPositionOverviewPage.tsx b/frontend/src/PagesAdmin/RecruitmentPositionOverviewPage/RecruitmentPositionOverviewPage.tsx index 5b29e8c77..8f599c1e4 100644 --- a/frontend/src/PagesAdmin/RecruitmentPositionOverviewPage/RecruitmentPositionOverviewPage.tsx +++ b/frontend/src/PagesAdmin/RecruitmentPositionOverviewPage/RecruitmentPositionOverviewPage.tsx @@ -3,7 +3,7 @@ import { useState } from 'react'; import { useTranslation } from 'react-i18next'; import { useParams } from 'react-router-dom'; import { toast } from 'react-toastify'; -import { Button, RecruitmentApplicantsStatus, Text } from '~/Components'; +import { Button, Text } from '~/Components'; import { getRecruitmentApplicationsForRecruitmentPosition, getRecruitmentPosition, @@ -17,7 +17,7 @@ import { ROUTES } from '~/routes'; import { dbT, lowerCapitalize } from '~/utils'; import { AdminPageLayout } from '../AdminPageLayout/AdminPageLayout'; import styles from './RecruitmentPositionOverviewPage.module.scss'; -import { ProcessedApplicants } from './components'; +import { ProcessedApplicants, RecruitmentApplicantsStatus } from './components'; // Define the possible states an application can be in within the recruitment process // Applications flow through these states as they are processed by recruiters @@ -204,27 +204,25 @@ export function RecruitmentPositionOverviewPage() { }} /> -