(edge)
| 3216 | } |
| 3217 | if (state.currentReport?.report_id === reportId) clearReportViewer(); |
| 3218 | showFeedbackToast("success", responseLanguage() === "en" ? "Report deleted" : "报告已删除", title); |
| 3219 | await refreshReports({ keepSelection: false }); |
| 3220 | } |
| 3221 | |
| 3222 | function loadReportAnnotation(reportId) { |
| 3223 | if (!reportId) return ""; |
| 3224 | try { |
| 3225 | return window.localStorage.getItem(reportAnnotationKey(reportId)) || ""; |
| 3226 | } catch (error) { |
| 3227 | return ""; |
| 3228 | } |
| 3229 | } |
| 3230 | |
| 3231 | function saveReportAnnotation() { |
| 3232 | const reportId = state.currentReport?.report_id; |
nothing calls this directly
no outgoing calls
no test coverage detected