()
| 2913 | } |
| 2914 | |
| 2915 | function clearReportAnnotations() { |
| 2916 | if (!state.currentReport?.report_id) return; |
| 2917 | try { |
| 2918 | window.localStorage.removeItem(reportAnnotationKey(state.currentReport.report_id)); |
| 2919 | } catch (error) { |
| 2920 | console.warn("Unable to clear report annotation", error); |
| 2921 | } |
| 2922 | $("reportViewerBody").innerHTML = renderMarkdown(state.currentReport.markdown || ""); |
| 2923 | $("clearReportAnnotationsBtn").disabled = true; |
| 2924 | hideReportAnnotationToolbar(); |
| 2925 | } |
| 2926 | |
| 2927 | function renderReportList(reports, activeId = "") { |
| 2928 | const target = $("reportsList"); |
nothing calls this directly
no test coverage detected