This commit is contained in:
parent
8b203908a0
commit
725945d95c
22 changed files with 381 additions and 135 deletions
|
|
@ -248,10 +248,8 @@ const hasCompleteResponse = computed(() => {
|
|||
r.images.length > 0 ||
|
||||
r.permission_type == PermissionType.GRANTED ||
|
||||
r.reporter.name ||
|
||||
r.reporter.phone ||
|
||||
r.reporter.has_phone ||
|
||||
r.reporter.email ||
|
||||
r.reporter.has_email
|
||||
r.reporter.phones.length ||
|
||||
r.reporter.emails.length
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@
|
|||
id="contact-phone"
|
||||
name="phone"
|
||||
placeholder="(555) 123-4567"
|
||||
v-model="modelValue.reporter.phone"
|
||||
v-model="modelValue.reporter.phone.number"
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
|
@ -92,7 +92,7 @@
|
|||
<div
|
||||
class="alert alert-primary"
|
||||
role="alert"
|
||||
v-if="modelValue.reporter.has_email"
|
||||
v-if="modelValue.reporter.email != ''"
|
||||
>
|
||||
You've already added an email address to this report. If you alter the
|
||||
email below, it will replace the current email address.
|
||||
|
|
|
|||
|
|
@ -199,7 +199,7 @@
|
|||
<div
|
||||
class="summary-value"
|
||||
v-if="
|
||||
modelValue.reporter?.phone || modelValue.reporter?.has_phone
|
||||
modelValue.reporter?.phone || modelValue.reporter?.phone != ''
|
||||
"
|
||||
>
|
||||
{{ modelValue.reporter.phone }}
|
||||
|
|
@ -216,7 +216,7 @@
|
|||
<div
|
||||
class="summary-value"
|
||||
v-if="
|
||||
modelValue.reporter?.email || modelValue.reporter?.has_email
|
||||
modelValue.reporter?.email || modelValue.reporter?.email != ''
|
||||
"
|
||||
>
|
||||
{{ modelValue.reporter?.email }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue