1
0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2025-12-15 19:05:09 +00:00

Show instance state on homepage

This commit is contained in:
Cadence Fish
2020-02-01 21:17:10 +13:00
parent 3108c68fd5
commit 4426c2f206
5 changed files with 24 additions and 3 deletions

View File

@@ -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