export speed loading error fix

This commit is contained in:
Ivan 2023-10-05 00:23:12 +03:00
parent 50377de9e4
commit 384a09dba4
Signed by untrusted user who does not match committer: ppechenkoo
GPG Key ID: 0C191B86D9582583
2 changed files with 2 additions and 0 deletions

View File

@ -686,6 +686,7 @@ async function sendPostRequest() {
h1Element.textContent = 'Данных для выбранного периода нет.'; h1Element.textContent = 'Данных для выбранного периода нет.';
const speedBG = document.getElementById("speed-bg"); const speedBG = document.getElementById("speed-bg");
speedBG.style.display = 'flex'; speedBG.style.display = 'flex';
document.getElementById("dataLoading").style.display = 'none';
} }

View File

@ -356,6 +356,7 @@ async function sendPostRequest() {
if (data.success) { if (data.success) {
console.log(`Данные доступны. DATAID: ${data.dataId}`) console.log(`Данные доступны. DATAID: ${data.dataId}`)
document.getElementById("speed-bg").style.display = "none";
const requestData = { const requestData = {
serial: selectedSerial, serial: selectedSerial,
datetime: combinedDateTime, datetime: combinedDateTime,