fix multiple actions + enhance antibot card stat

This commit is contained in:
Jordan Blasenhauer 2024-05-07 12:45:47 +02:00
parent ea398b5728
commit 8a67c02297
2 changed files with 5 additions and 4 deletions

View file

@ -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(),
}

View file

@ -1466,7 +1466,8 @@ class SettingsMultiple extends Settings {
.hasAttribute("data-pro-disabled")
? true
: false;
return true;
return proDisabled;
}
removePrevMultiples() {