mirror of
https://github.com/docusealco/docuseal
synced 2026-11-09 15:42:32 -05:00
adjust filename
This commit is contained in:
1 parent
256d14eb94
commit
1b63b16691
12 files changed
+26
-14
No files matched your search
@@ -67,7 +67,7 @@ class TemplatesDebugController < ApplicationController
|
||||
schema = documents.map do |doc|
|
||||
{
|
||||
attachment_uuid: doc.uuid,
|
||||
name: doc.filename.base,
|
||||
name: FilenameUtils.basename(doc.blob[:filename]),
|
||||
dynamic: dynamic_documents.find { |e| e.uuid == doc.uuid }.present?
|
||||
}
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user