mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-06 13:40:16 +08:00
impr: don't allow retrying saving result if its a duplicate result
closes #5933
This commit is contained in:
parent
0c7adabe7f
commit
2c7bb9488f
1 changed files with 1 additions and 1 deletions
|
@ -1142,7 +1142,7 @@ async function saveResult(
|
|||
|
||||
if (response.status !== 200) {
|
||||
//only allow retry if status is not in this list
|
||||
if (![460, 461, 463, 464, 465].includes(response.status)) {
|
||||
if (![460, 461, 463, 464, 465, 466].includes(response.status)) {
|
||||
retrySaving.canRetry = true;
|
||||
$("#retrySavingResultButton").removeClass("hidden");
|
||||
if (!isRetrying) {
|
||||
|
|
Loading…
Add table
Reference in a new issue