(sourceNodes, sourceEdges, limit = 4)
| 3402 | |
| 3403 | async function loadReportContent(reportId, silent = false) { |
| 3404 | if (!reportId) return; |
| 3405 | const data = await api(`/api/reports/content?report_id=${encodeURIComponent(reportId)}`); |
| 3406 | const report = data.report; |
| 3407 | if (!report) { |
| 3408 | if (!silent) throw new Error(ui().reports.missing); |
| 3409 | return; |
| 3410 | } |
| 3411 | state.currentReport = report; |
| 3412 | renderReportList(state.reports, report.report_id); |
| 3413 | $("reportViewerTitle").textContent = report.title || ui().reports.defaultTitle; |
no test coverage detected