Skip to content

Commit

Permalink
fix: [DI-23411] - Updated preference key for date time range picker (#…
Browse files Browse the repository at this point in the history
…11631)

* fix: [DI-23411] - Updated preference key for date time range picker

* added changeset
  • Loading branch information
nikhagra-akamai authored Feb 11, 2025
1 parent c0b7748 commit ce120b2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-11631-added-1738936959631.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Added
---

Update `TIME_DURATION` constant from `timeDuration` to `timeRange` ([#11631](https://github.com/linode/manager/pull/11631))
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export const GlobalFilters = React.memo((props: GlobalFilterProperties) => {
gap={2}
>
<CloudPulseDateTimeRangePicker
defaultValue={preferences?.timeDuration}
defaultValue={preferences?.timeRange}
handleStatsChange={handleTimeRangeChange}
savePreferences
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const RESOURCES = 'resources';

export const INTERVAL = 'interval';

export const TIME_DURATION = 'timeDuration';
export const TIME_DURATION = 'dateTimeDuration';

export const AGGREGATE_FUNCTION = 'aggregateFunction';

Expand Down

0 comments on commit ce120b2

Please sign in to comment.