Send submit PUT on compliance report flow, create communication then

This makes it so that people don't see compliance reports as they're
being formulated in the communication workbench
This commit is contained in:
Eli Ribble 2026-05-01 21:27:17 +00:00
parent a82732a49c
commit 7f71ff9a2e
No known key found for this signature in database
9 changed files with 50 additions and 37 deletions

View file

@ -183,6 +183,9 @@ function doPermission() {
function doSubmit() {
console.log("submit", report.value);
storeLocal.delExistingComplianceReportURI();
updateReport({
submitted: new Date().toISOString(),
});
}
async function updateReport(updates: ComplianceUpdate) {
if (!(report.value && report.value.uri)) {