Skip to content

Commit

Permalink
fix non working days
Browse files Browse the repository at this point in the history
  • Loading branch information
JensRavens committed Jan 20, 2025
1 parent 62358fe commit 63462c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/leaves/new.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ interface Form {
userId: string;
days: Date[];
title: string;
type: 'paid' | 'sick' | 'not_working';
type: 'paid' | 'sick' | 'non_working';
}

export default function ({
Expand Down Expand Up @@ -56,7 +56,7 @@ export default function ({
const leaveTypes: SelectOption<Form['type']>[] = [
{ value: 'paid', label: t('leaves.new.paid') },
{ value: 'sick', label: t('leaves.new.sick') },
{ value: 'not_working', label: t('leaves.new.not_working') },
{ value: 'non_working', label: t('leaves.new.not_working') },
];
const today = new Date();
today.setHours(0, 0, 0, 0);
Expand Down

0 comments on commit 63462c3

Please sign in to comment.