Add concern page to mailer compliance flow

This commit is contained in:
Eli Ribble 2026-04-22 21:22:03 +00:00
parent b5923137a7
commit a8819c907e
No known key found for this signature in database
11 changed files with 206 additions and 124 deletions

View file

@ -65,8 +65,10 @@ const routes = useRoutes();
function doContinue() {
emit("update:modelValue", props.modelValue);
emit("doAddress");
// re-add when we have the concern data to show
// router.push("./concern");
router.push(routes.ComplianceEvidence(props.publicID));
if (props.modelValue.concerns.length > 0) {
router.push(routes.ComplianceConcern(props.publicID));
} else {
router.push(routes.ComplianceEvidence(props.publicID));
}
}
</script>