diff --git a/.changelog/686.bugfix.md b/.changelog/686.bugfix.md new file mode 100644 index 000000000..3f57a7d75 --- /dev/null +++ b/.changelog/686.bugfix.md @@ -0,0 +1 @@ +Recognize out of data paratime data (again) diff --git a/src/app/components/OfflineBanner/hook.ts b/src/app/components/OfflineBanner/hook.ts index fb00b4b2b..9d2385c54 100644 --- a/src/app/components/OfflineBanner/hook.ts +++ b/src/app/components/OfflineBanner/hook.ts @@ -32,7 +32,7 @@ export const useRuntimeFreshness = (scope: SearchScope): FreshnessInfo => { } } - if (isApiReachable) { + if (!isApiReachable) { // The error state will be handled by NetworkOfflineBanner, // no need to display another banner whining about obsolete data. return {