mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
fix multiple actions + enhance antibot card stat
This commit is contained in:
parent
ea398b5728
commit
8a67c02297
2 changed files with 5 additions and 4 deletions
|
|
@ -9,14 +9,14 @@ def pre_render(**kwargs):
|
|||
"value": data.get("counter_failed_challenges", 0),
|
||||
"title": "Challenge",
|
||||
"subtitle": "Failed",
|
||||
"subtitle_color": "info",
|
||||
"svg_color": "blue",
|
||||
"subtitle_color": "error",
|
||||
"svg_color": "red",
|
||||
}
|
||||
}
|
||||
except BaseException:
|
||||
print(format_exc(), flush=True)
|
||||
return {
|
||||
"counter_failed_challenges": {"value": "unknown", "title": "Challenge", "subtitle": "Failed", "subtitle_color": "info", "svg_color": "blue"},
|
||||
"counter_failed_challenges": {"value": "unknown", "title": "Challenge", "subtitle": "Failed", "subtitle_color": "error", "svg_color": "red"},
|
||||
"error": format_exc(),
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1466,7 +1466,8 @@ class SettingsMultiple extends Settings {
|
|||
.hasAttribute("data-pro-disabled")
|
||||
? true
|
||||
: false;
|
||||
return true;
|
||||
|
||||
return proDisabled;
|
||||
}
|
||||
|
||||
removePrevMultiples() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue