deduplicate submitter uuids

pull/636/head
Pete Matsyburka 3 weeks ago
parent 5ea6289b7a
commit c95a8616ac

@ -1097,6 +1097,16 @@ export default {
}
})
const deduplicateUuidsIndex = {}
this.template.submitters.forEach((submitter) => {
if (deduplicateUuidsIndex[submitter.uuid]) {
submitter.uuid = v4()
}
deduplicateUuidsIndex[submitter.uuid] = true
})
this.selectedSubmitter = this.template.submitters[0]
},
mounted () {

Loading…
Cancel
Save