feat: show deferred details cache mode

This commit is contained in:
Luca Sacchi Ricciardi
2026-04-25 16:13:41 +02:00
parent 165ad9c02b
commit 1c76515d8c
3 changed files with 37 additions and 4 deletions
+4
View File
@@ -250,3 +250,7 @@ function isCacheStale(timestamp, maxAgeMs = DATA_REFRESH_INTERVAL_MS) {
return (Date.now() - timestamp) >= maxAgeMs;
}
function hasDeferredShowDetails(cacheValue) {
return Boolean(cacheValue && cacheValue.showDetailsDeferred);
}