mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 22:42:32 -05:00
set template name from first document
This commit is contained in:
1 parent
0aefe616b3
commit
82b18b08f1
1 file changed
+4
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user