[WEB-1419] chore: enable module creation with dates older than today. (#4659)

This commit is contained in:
Prateek Shourya 2024-05-31 12:38:45 +05:30 committed by GitHub
parent 653b1a7b30
commit 9ff3c22089
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 2 deletions

View File

@ -147,7 +147,6 @@ export const ModuleForm: React.FC<Props> = (props) => {
<DateRangeDropdown
buttonVariant="border-with-text"
className="h-7"
minDate={new Date()}
value={{
from: getDate(startDateValue),
to: getDate(endDateValue),

View File

@ -471,7 +471,6 @@ export const ModuleDetailsSidebar: React.FC<Props> = observer((props) => {
<DateRangeDropdown
buttonContainerClassName="w-full"
buttonVariant="background-with-text"
minDate={new Date()}
value={{
from: startDate,
to: endDate,