diff --git a/CHANGELOG.md b/CHANGELOG.md index a9c0ca7..ae4adbd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Include full query options when generating download/share/preview links, [PR-160](https://github.com/reductstore/web-console/pull/160) - Fix the inconsistency in the time range selection with an empty end, [PR-162](https://github.com/reductstore/web-console/pull/162) +- Fix time range dropdown preset selection not exiting Custom mode, [PR-165](https://github.com/reductstore/web-console/pull/165) ## 1.12.1 - 2025-11-17 diff --git a/src/Components/Entry/TimeRangeDropdown.tsx b/src/Components/Entry/TimeRangeDropdown.tsx index 92056d8..ccaf328 100644 --- a/src/Components/Entry/TimeRangeDropdown.tsx +++ b/src/Components/Entry/TimeRangeDropdown.tsx @@ -68,7 +68,7 @@ export default function TimeRangeDropdown({ label: string; value: [Dayjs, Dayjs]; }[], - [], + [menuOpen, pickerOpen], ); const applyRange = (from: Dayjs, to: Dayjs) => {