Skip to content
Snippets Groups Projects
Commit ac7038d4 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FIX #14441 TIME 0:15 fix attach signed response in mail

(cherry picked from commit c09bf36f)
parent 58d19bcf
No related branches found
No related tags found
No related merge requests found
......@@ -494,7 +494,7 @@ export class SentResourcePageComponent implements OnInit {
} else {
this.emailAttachTool[element].list = data[element].map((item: any) => {
if (item.attachInMail) {
this.toggleAttachMail(item, element, 'original');
this.toggleAttachMail(item, element, item.status === 'SIGN' ? 'pdf' : 'original');
}
return {
...item,
......@@ -705,7 +705,7 @@ export class SentResourcePageComponent implements OnInit {
}
}
toggleAttachMail(item: any, type: string, mode: string) {
toggleAttachMail(item: any, type: string, mode: 'original' | 'pdf') {
if (type === 'document') {
if (this.emailAttach.document.isLinked === false) {
this.emailAttach.document.isLinked = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment