mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 14:42:33 -05:00
optimize for large files
This commit is contained in:
1 parent
c639a3f733
commit
ce39494f84
19 files changed
+206
-32
No files matched your search
@@ -114,7 +114,7 @@ export default {
|
||||
emits: ['scroll-to', 'change', 'remove', 'up', 'down', 'replace'],
|
||||
computed: {
|
||||
previewImage () {
|
||||
return this.document.preview_images[0]
|
||||
return [...this.document.preview_images].sort((a, b) => parseInt(a.filename) - parseInt(b.filename))[0]
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
|
||||
Reference in new issue
Block a user