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