Skip to content

Commit

Permalink
fix: set toDate as the max date for fromDate
Browse files Browse the repository at this point in the history
  • Loading branch information
NithinKuruba committed Dec 15, 2023
1 parent 1969d5d commit c553d5a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ const MetricsPanel = ({ integration }: Props) => {
selected={new Date(fromDate)}
onChange={(date: Date) => handleFromDateChange(date)}
minDate={new Date(metricsStartDate)}
maxDate={subtractDaysFromDate(1)}
maxDate={toDate}
label="Start Date"
/>
<DateTimePicker
Expand Down

0 comments on commit c553d5a

Please sign in to comment.