forked from github/plane
[WEB-1419] chore: enable module creation with dates older than today. (#4659)
This commit is contained in:
parent
653b1a7b30
commit
9ff3c22089
@ -147,7 +147,6 @@ export const ModuleForm: React.FC<Props> = (props) => {
|
|||||||
<DateRangeDropdown
|
<DateRangeDropdown
|
||||||
buttonVariant="border-with-text"
|
buttonVariant="border-with-text"
|
||||||
className="h-7"
|
className="h-7"
|
||||||
minDate={new Date()}
|
|
||||||
value={{
|
value={{
|
||||||
from: getDate(startDateValue),
|
from: getDate(startDateValue),
|
||||||
to: getDate(endDateValue),
|
to: getDate(endDateValue),
|
||||||
|
@ -471,7 +471,6 @@ export const ModuleDetailsSidebar: React.FC<Props> = observer((props) => {
|
|||||||
<DateRangeDropdown
|
<DateRangeDropdown
|
||||||
buttonContainerClassName="w-full"
|
buttonContainerClassName="w-full"
|
||||||
buttonVariant="background-with-text"
|
buttonVariant="background-with-text"
|
||||||
minDate={new Date()}
|
|
||||||
value={{
|
value={{
|
||||||
from: startDate,
|
from: startDate,
|
||||||
to: endDate,
|
to: endDate,
|
||||||
|
Loading…
Reference in New Issue
Block a user