()
| 2913 | const reportKey = paperReportKey(number); |
| 2914 | const existingReportId = state.paperReports.get(reportKey); |
| 2915 | if (existingReportId) { |
| 2916 | await openReport(existingReportId); |
| 2917 | return; |
| 2918 | } |
| 2919 | setPaperDisposition(number, "read"); |
| 2920 | } |
| 2921 | |
| 2922 | async function submitFeedback(generateReports) { |
| 2923 | if (!state.push?.push_id) { |
| 2924 | showPaperFeedback("error", ui().papers.submitUnavailableTitle, ui().papers.submitUnavailableDetail); |
| 2925 | throw new Error(ui().papers.loadPushFirst); |
| 2926 | } |
| 2927 | const selectedNumbers = Array.from(state.selected); |
| 2928 | if (generateReports && !selectedNumbers.length) { |
nothing calls this directly
no test coverage detected