diff --git a/src/views/AdminDashboard.tsx b/src/views/AdminDashboard.tsx index 410a529..6bd91eb 100644 --- a/src/views/AdminDashboard.tsx +++ b/src/views/AdminDashboard.tsx @@ -11,6 +11,7 @@ import { BarChart3, BookOpen, CalendarDays, + Eraser, GraduationCap, Heart, LibraryBig, @@ -201,6 +202,7 @@ function DateRangeFilter({ onChange={(next) => onChange({ ...value, from: toApiDate(next instanceof DateObject ? next : null) })} calendar={persian} locale={persian_fa} + onOpenPickNewDate={false} calendarPosition="bottom-right" inputClass="h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm text-right ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2" placeholder="تاریخ شروع" @@ -214,6 +216,7 @@ function DateRangeFilter({ onChange={(next) => onChange({ ...value, to: toApiDate(next instanceof DateObject ? next : null) })} calendar={persian} locale={persian_fa} + onOpenPickNewDate={false} calendarPosition="bottom-right" inputClass="h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm text-right ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2" placeholder="تاریخ پایان" @@ -221,7 +224,8 @@ function DateRangeFilter({ />