adjust message

pull/349/head
Pete Matsyburka 1 year ago
parent ff0d486831
commit fdeec548a3

@ -1136,7 +1136,7 @@ export default {
if (submitterWithoutFields) { if (submitterWithoutFields) {
e.preventDefault() e.preventDefault()
alert(`Please add fields for ${submitterWithoutFields.name} to prepare the document or remove the party.`) alert(`Please add fields for the ${submitterWithoutFields.name}. Or, remove the ${submitterWithoutFields.name} if not needed.`)
} }
} }
}, },
@ -1158,7 +1158,7 @@ export default {
this.template.submitters.find((submitter) => !this.template.fields.some((f) => f.submitter_uuid === submitter.uuid)) this.template.submitters.find((submitter) => !this.template.fields.some((f) => f.submitter_uuid === submitter.uuid))
if (submitterWithoutFields) { if (submitterWithoutFields) {
alert(`Please add fields for ${submitterWithoutFields.name} to prepare the document or remove the party.`) alert(`Please add fields for the ${submitterWithoutFields.name}. Or, remove the ${submitterWithoutFields.name} if not needed.`)
} else { } else {
this.isSaving = true this.isSaving = true

Loading…
Cancel
Save