mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2026-03-01 18:31:35 +00:00
Show instance state on homepage
This commit is contained in:
parent
3108c68fd5
commit
4426c2f206
5 changed files with 24 additions and 3 deletions
|
|
@ -32,6 +32,13 @@ class RequestHistory {
|
|||
}
|
||||
return result
|
||||
}
|
||||
|
||||
testNoneBlocked() {
|
||||
for (const value of this.store.values()) {
|
||||
if (value.lastRequestSuccessful === false) return false
|
||||
}
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = RequestHistory
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue