Преглед на файлове

Show recording meta in UI

master
Jan Svabenik преди 3 дни
родител
ревизия
12b4f0e2bf
променени са 1 файла, в които са добавени 9 реда и са изтрити 0 реда
  1. +9
    -0
      web/app.js

+ 9
- 0
web/app.js Целия файл

@@ -1215,6 +1215,15 @@ if (recordingList) {
recordingIQLink.href = `/api/recordings/${id}/iq`;
recordingAudioLink.href = `/api/recordings/${id}/audio`;
}
try {
const res = await fetch(`/api/recordings/${id}`);
if (!res.ok) return;
const meta = await res.json();
if (decodeResultEl) {
const rds = meta.rds_ps ? `RDS: ${meta.rds_ps}` : '';
decodeResultEl.textContent = `Decode: ${rds}`;
}
} catch {}
});
}



Loading…
Отказ
Запис