Skip to content
Snippets Groups Projects
Commit 41947892 authored by Jean-Laurent DUZANT's avatar Jean-Laurent DUZANT
Browse files

FIX #17671 TIME 0:05 add await after proof

parent 70898709
No related branches found
No related tags found
No related merge requests found
......@@ -560,7 +560,7 @@ export class SearchComponent implements OnInit {
handler: async (res: any) => {
this.physicalPurge = !this.functionsService.empty(res) ? true : false;
await this.downloadProof(item, '');
this.http.delete(`../rest/documents/${item.id}?physicalPurge=${this.physicalPurge}`).pipe(
await this.http.delete(`../rest/documents/${item.id}?physicalPurge=${this.physicalPurge}`).pipe(
tap(async (data: any) => {
this.loadingController.create({
message: this.translate.instant('lang.processing'),
......
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