set template name from first document

This commit is contained in:
Pete Matsyburka
2023-12-23 00:52:06 +02:00
parent 0aefe616b3
commit 82b18b08f1
@@ -759,6 +759,10 @@ export default {
this.scrollIntoDocument(schema[0])
})
if (this.template.name === 'New Document') {
this.template.name = this.template.schema[0].name
}
if (this.onUpload) {
this.onUpload(this.template)
}