Report pending signer to user
This commit is contained in:
parent
39233f261e
commit
28b522f015
1 changed files with 2 additions and 1 deletions
|
|
@ -146,8 +146,9 @@
|
|||
const recent = $log.slice(-10)
|
||||
const success = recent.filter(spec({status: SignerLogEntryStatus.Success}))
|
||||
const failure = recent.filter(spec({status: SignerLogEntryStatus.Failure}))
|
||||
const pending = recent.filter(spec({status: SignerLogEntryStatus.Pending}))
|
||||
|
||||
if (!$toast && failure.length > 5 && success.length === 0) {
|
||||
if (!$toast && (failure.length > 5 || pending.length > 5) && success.length === 0) {
|
||||
pushToast({
|
||||
theme: "error",
|
||||
timeout: 60_000,
|
||||
|
|
|
|||
Loading…
Reference in a new issue