Skip to content

Commit

Permalink
Recognize out of data paratime data (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
csillag committed Jul 6, 2023
1 parent 065a42f commit e064c35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .changelog/686.bugfix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Recognize out of data paratime data (again)
2 changes: 1 addition & 1 deletion src/app/components/OfflineBanner/hook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e064c35

Please sign in to comment.