Commit c09bf36f authored by Alex ORLUC's avatar Alex ORLUC
Browse files

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

parent 24bf46af
......@@ -496,7 +496,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,
......@@ -707,7 +707,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;
......
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