impr: don't allow retrying saving result if its a duplicate result

closes #5933
This commit is contained in:
Miodec 2024-10-07 12:41:59 +02:00
parent 0c7adabe7f
commit 2c7bb9488f

View file

@ -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) {