mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 11:46:42 +00:00
Add Hours to show to the cache key (#7072)
This commit is contained in:
parent
f80bea27a9
commit
b4d34d9085
@ -99,7 +99,7 @@ export const getRecentWithCache = (
|
||||
let toFetchStartTime = startTime;
|
||||
let appendingToCache = false;
|
||||
|
||||
let cache = stateHistoryCache[cacheKey];
|
||||
let cache = stateHistoryCache[cacheKey + `_${cacheConfig.hoursToShow}`];
|
||||
if (
|
||||
cache &&
|
||||
toFetchStartTime >= cache.startTime &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user