Skip to content

Commit

Permalink
renamed applicationsWithoutInterview and and changd navigation link
Browse files Browse the repository at this point in the history
  • Loading branch information
Snorre98 committed Nov 4, 2024
1 parent 475739b commit c956337
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export function RecruitmentWithoutInterviewTable({ applicants }: RecruitmentWith
value: user.applications_without_interview ? user.applications_without_interview.length : 0,
content: (
<WithoutInterviewModal
applications_without_interview={user.applications_without_interview}
applicationsWithoutInterview={user.applications_without_interview}
applications={user.applications}
/>
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ export function WithoutInterviewList({ applications }: WithoutInterviewListProps
content: (
<Link
url={reverse({
pattern: ROUTES.frontend.admin_recruitment_applicant,
pattern: ROUTES.frontend.admin_recruitment_gang_position_applicants_overview,
urlParams: {
applicationID: application.id,
recruitmentId: application.recruitment,
gangId: application.recruitment_position.gang.id,
positionId: application.recruitment_position.id,
},
})}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ import { WithoutInterviewList } from './WithoutInterviewList';

type WithoutInterviewModalProps = {
applications: RecruitmentApplicationDto[];
applications_without_interview: RecruitmentApplicationDto[];
applicationsWithoutInterview: RecruitmentApplicationDto[];
};

export function WithoutInterviewModal({ applications, applications_without_interview }: WithoutInterviewModalProps) {
export function WithoutInterviewModal({
applications,
applicationsWithoutInterview: applications_without_interview,
}: WithoutInterviewModalProps) {
const [withoutInterviewModal, setWithoutInterviewModal] = useState(false);

return (
Expand Down

0 comments on commit c956337

Please sign in to comment.