Skip to content

Commit

Permalink
Merge pull request #2415 from OneCommunityGlobal/Nathan-hotfix-userPr…
Browse files Browse the repository at this point in the history
…ofile

fix: comment out userProfile (merge error??)
  • Loading branch information
one-community authored Jul 4, 2024
2 parents 3cab4ab + f56f5dd commit f1f0916
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Timelog/TimeEntryForm/TimeEntryForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ const TimeEntryForm = props => {
id="dateOfWork"
value={formValues.dateOfWork}
onChange={handleInputChange}
min={userProfile?.isFirstTimelog === true ? moment().toISOString().split('T')[0] : userProfile?.startDate.split('T')[0]}
// min={userProfile?.isFirstTimelog === true ? moment().toISOString().split('T')[0] : userProfile?.startDate.split('T')[0]}
disabled={!canEditTimeEntryDate}
/>
{'dateOfWork' in errors && (
Expand Down

0 comments on commit f1f0916

Please sign in to comment.