fix(annotations): correctly decode base64 for FRAME annotations
Updated `mapSignature` function to use `fixBase64` when assigning `value` to FRAME annotations. This ensures any escaped Base64 strings in attachments are properly converted to standard Base64 format.
This commit is contained in:
parent
188cb67306
commit
cff79730b0
@ -329,7 +329,7 @@ function mapSignature(iJSON) {
|
||||
const idPartsOfPre = preElement.id.split('#');
|
||||
annot.elementId = Number(idPartsOfPre[2]);
|
||||
annot.name = annot.description.toLowerCase();
|
||||
annot.value = iJSON.attachments[annot.imageAttachmentId]?.binary || null;
|
||||
annot.value = fixBase64(iJSON.attachments[annot.imageAttachmentId]?.binary);
|
||||
return annot;
|
||||
})
|
||||
};
|
||||
|
||||
File diff suppressed because one or more lines are too long
4
EnvelopeGenerator.Web/wwwroot/js/app.min.js
vendored
4
EnvelopeGenerator.Web/wwwroot/js/app.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user