Skip to content

Commit

Permalink
Fix Non Working Days (#117)
Browse files Browse the repository at this point in the history
* initial commit for Fix Non Working Days

* fix non working days
  • Loading branch information
JensRavens authored Jan 20, 2025
1 parent aba1944 commit 5d6aeec
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 5d6aeec

Please sign in to comment.