Commit 5fdd9783 authored by Hamza HRAMCHI's avatar Hamza HRAMCHI
Browse files

FIX #18927 TIME 0:10 set signed response id after submit

parent 7340a234
......@@ -957,7 +957,7 @@ export class MailEditorComponent implements OnInit, OnDestroy {
if (!this.functions.empty(this.emailAttach[element])) {
if (element === 'document') {
objAttach = {
id: this.signedAttachId !== null ? this.signedAttachId : this.emailAttach[element].id,
id: this.emailAttach[element].id,
isLinked: this.emailAttach[element].isLinked,
original: this.emailAttach[element].original
};
......@@ -965,7 +965,7 @@ export class MailEditorComponent implements OnInit, OnDestroy {
objAttach[element] = this.emailAttach[element].map((item: any) => item.id);
} else {
objAttach[element] = this.emailAttach[element].map((item: any) => ({
id: item.id,
id: element === 'attachments' && this.signedAttachId !== null ? this.signedAttachId : item.id,
original: item.original
}));
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment