Commit d3ea97fb authored by Hamza HRAMCHI's avatar Hamza HRAMCHI
Browse files

FIX #18927 TIME 0:02 fix condition

parent 7ceb162d
...@@ -310,7 +310,6 @@ export class MailEditorComponent implements OnInit, OnDestroy { ...@@ -310,7 +310,6 @@ export class MailEditorComponent implements OnInit, OnDestroy {
} }
}); });
if (this.emailStatus !== 'SENT') {
await this.getAttachElements(false); await this.getAttachElements(false);
const attachIds: number[] = this.emailAttachTool.attachments.list.map((item: any) => item.id); const attachIds: number[] = this.emailAttachTool.attachments.list.map((item: any) => item.id);
this.emailAttach.attachments.forEach((element: any, index: number) => { this.emailAttach.attachments.forEach((element: any, index: number) => {
...@@ -325,7 +324,6 @@ export class MailEditorComponent implements OnInit, OnDestroy { ...@@ -325,7 +324,6 @@ export class MailEditorComponent implements OnInit, OnDestroy {
} }
} }
}); });
}
resolve(true); resolve(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