(number)
| 2517 | } |
| 2518 | |
| 2519 | async function readSinglePaper(number) { |
| 2520 | if (!state.push?.push_id) throw new Error(ui().papers.loadPushFirst); |
| 2521 | const reportKey = paperReportKey(number); |
| 2522 | const existingReportId = state.paperReports.get(reportKey); |
| 2523 | if (existingReportId) { |
| 2524 | await openReport(existingReportId); |
| 2525 | return; |
| 2526 | } |
| 2527 | setPaperDisposition(number, "read"); |
| 2528 | } |
| 2529 | |
| 2530 | async function submitFeedback(generateReports) { |
| 2531 | if (!state.push?.push_id) { |
no test coverage detected