CP-10278 - Remove JS update for already made forms

pull/544/head
Bernardo Anderson 3 months ago
parent e60cb4aecc
commit dc81aa3b87

@ -699,15 +699,6 @@ export default {
} }
} }
// Update old party names to new translations
this.template.submitters.forEach((submitter) => {
if (submitter.name === 'First Party') {
submitter.name = this.t('first_party')
} else if (submitter.name === 'Second Party') {
submitter.name = this.t('second_party')
}
})
const existingSubmittersUuids = this.defaultSubmitters.map((name) => { const existingSubmittersUuids = this.defaultSubmitters.map((name) => {
return this.template.submitters.find(e => e.name === name)?.uuid return this.template.submitters.find(e => e.name === name)?.uuid
}) })

Loading…
Cancel
Save