assign first party i18n name

This commit is contained in:
Pete Matsyburka
2024-04-05 02:21:14 +03:00
parent 23f052c400
commit f16405ca70
@@ -541,6 +541,12 @@ export default {
}
},
created () {
if (!this.template.fields?.length && this.template.submitters?.length === 1) {
if (this.template.submitters[0]?.name === 'First Party') {
this.template.submitters[0].name = this.t('first_party')
}
}
const existingSubmittersUuids = this.defaultSubmitters.map((name) => {
return this.template.submitters.find(e => e.name === name)?.uuid
})