set template name from first document

pull/217/head
Pete Matsyburka 2 years ago
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)
}

Loading…
Cancel
Save