feat: show deferred details cache mode
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user