()
| 2942 | } |
| 2943 | |
| 2944 | function clearReportViewer() { |
| 2945 | state.currentReport = null; |
| 2946 | $("reportViewerTitle").textContent = ui().reports.defaultTitle; |
| 2947 | $("reportViewerMeta").textContent = ""; |
| 2948 | $("reportViewerBody").className = "markdown-body"; |
| 2949 | $("reportViewerBody").innerHTML = ""; |
| 2950 | $("clearReportAnnotationsBtn").disabled = true; |
| 2951 | hideReportAnnotationToolbar(); |
| 2952 | setReportLinks({}); |
| 2953 | } |
| 2954 | |
| 2955 | async function refreshReports(options = {}) { |
| 2956 | const scopedUser = $("reportsCurrentOnly").checked ? currentUser() : ""; |
no test coverage detected