mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-26 06:24:32 +08:00
0c4226a271
Resolve conflicts in usage dashboard components:
- RequestLogTable.tsx: keep PR's new `range: UsageRangeSelection` API
(replaces the old timeMode/rollingWindowSeconds mechanism), while
preserving main's advanced pagination (ellipsis pages + jump input)
and page-reset effect. Removed obsolete handleRefresh and datetime
converters that are no longer needed under the new range API.
- UsageDashboard.tsx: keep PR's redesigned filter panel with calendar
picker and preset buttons. Drop the stale `timeRange={timeRange}`
prop that was auto-preserved from main but references a variable
that no longer exists in the PR's design.