Update public source
This commit is contained in:
+9
-3
@@ -746,9 +746,15 @@ def recalculate_block(job=None):
|
|||||||
"/reports/vendors/recalculate/status/" + jobId
|
"/reports/vendors/recalculate/status/" + jobId
|
||||||
);
|
);
|
||||||
|
|
||||||
if (!response.ok) {{
|
if (!response.ok) {
|
||||||
throw new Error("Ошибка получения статуса");
|
|
||||||
}}
|
statusElement.textContent =
|
||||||
|
"Не удалось получить статус задачи (HTTP " +
|
||||||
|
response.status +
|
||||||
|
")";
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const data = await response.json();
|
const data = await response.json();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user