Add concern page to mailer compliance flow
This commit is contained in:
parent
b5923137a7
commit
a8819c907e
11 changed files with 206 additions and 124 deletions
|
|
@ -147,10 +147,7 @@
|
|||
|
||||
<!-- Navigation Buttons -->
|
||||
<div class="d-flex gap-2 mt-4">
|
||||
<RouterLink
|
||||
class="btn btn-outline-secondary"
|
||||
:to="routes.ComplianceAddress(publicID)"
|
||||
>
|
||||
<RouterLink class="btn btn-outline-secondary" :to="toBack()">
|
||||
Back
|
||||
</RouterLink>
|
||||
<button class="btn btn-primary flex-grow-1" @click="doContinue">
|
||||
|
|
@ -188,4 +185,11 @@ function doContinue() {
|
|||
emit("doEvidence", images.value);
|
||||
router.push(routes.CompliancePermission(props.publicID));
|
||||
}
|
||||
function toBack() {
|
||||
if (props.modelValue.concerns.length > 0) {
|
||||
return routes.ComplianceConcern(props.publicID);
|
||||
} else {
|
||||
return routes.ComplianceAddress(props.publicID);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue