Skip to content

Commit

Permalink
Merge pull request #198 from goinvo/assignTBDhours
Browse files Browse the repository at this point in the history
 assignments with no assignedUser can now input estHours
  • Loading branch information
zhukovdigital authored Oct 10, 2024
2 parents 6340632 + a92a44a commit c373e5b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 15 deletions.
1 change: 0 additions & 1 deletion app/components/newPersonForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const NewPersonForm = ({ closeModal }: NewPersonFormProps) => {
userEmail: values.userEmail,
isAdmin: values.isAdmin
};
console.log('Form values:', newValues);
closeModal()
// Here will be logic for create new user
},
Expand Down
2 changes: 0 additions & 2 deletions app/components/projectAssignment/workWeekInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ export const WorkWeekInput = ({
}, [months, rowIndex, inputRefs]);

const upsertWorkWeekValues = (values: FormikValues) => {

const variables: WorkWeekValues = {
assignmentId: values.assignmentId,
cweek: values.cweek,
Expand Down Expand Up @@ -226,7 +225,6 @@ export const WorkWeekInput = ({
}
}}
onFillForwardClick={() => onFillForwardClick(ESTIMATED_HOURS, cweek, year, values)}
disabled={isUserTBD}
ref={(el: HTMLInputElement) => createEstimatedRef(el, rowIndex, cellIndex)}
onKeyDown={(e: React.KeyboardEvent<HTMLInputElement>) => tabbingAndArrowNavigation(e, rowIndex, cellIndex, inputRefs, totalRows, false)}
/>
Expand Down
12 changes: 0 additions & 12 deletions app/gqlQueries.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -186,19 +186,13 @@ export const GET_ALL_CLIENTS_DATA = gql`
estimatedHours
cweek
year
user {
name
}
}
}
workWeeks {
actualHours
estimatedHours
cweek
year
user {
name
}
}
}
}
Expand Down Expand Up @@ -237,9 +231,6 @@ export const GET_ALL_PROJECTS_DATA = gql`
estimatedHours
cweek
year
user {
name
}
}
}
client {
Expand All @@ -252,9 +243,6 @@ export const GET_ALL_PROJECTS_DATA = gql`
estimatedHours
cweek
year
user {
name
}
}
}
}
Expand Down

0 comments on commit c373e5b

Please sign in to comment.