mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 14:42:33 -05:00
fix result annots
This commit is contained in:
1 parent
7856f7a134
commit
16a2fde4b7
1 file changed
+3
-1
@@ -43,7 +43,9 @@ module Submissions
|
||||
page.rotate(0, flatten: true) if page[:Rotate] != 0
|
||||
|
||||
page[:Annots] ||= []
|
||||
page[:Annots] = page[:Annots].reject { |e| e[:A] && e[:A][:URI].to_s.starts_with?('file:///docuseal_field') }
|
||||
page[:Annots] = page[:Annots].reject do |e|
|
||||
e.present? && e[:A] && e[:A][:URI].to_s.starts_with?('file:///docuseal_field')
|
||||
end
|
||||
|
||||
width = page.box.width
|
||||
height = page.box.height
|
||||
|
||||
Reference in new issue
Block a user