Skip to content

Commit

Permalink
impr: don't allow retrying saving result if its a duplicate result
Browse files Browse the repository at this point in the history
closes #5933
  • Loading branch information
Miodec committed Oct 7, 2024
1 parent 0c7adab commit 2c7bb94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/ts/test/test-logic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 2c7bb94

Please sign in to comment.