MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / readSinglePaper

Function readSinglePaper

deployments/desktop/static/desktop.js:2519–2528  ·  view source on GitHub ↗
(number)

Source from the content-addressed store, hash-verified

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) {

Callers 1

bindEventsFunction · 0.85

Calls 5

uiFunction · 0.85
paperReportKeyFunction · 0.85
openReportFunction · 0.85
setPaperDispositionFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected