From c381f995cf1ca8fcd4bda7095ab8b12fc68f0b97 Mon Sep 17 00:00:00 2001
From: Alex ORLUC <alex.orluc@maarch.org>
Date: Fri, 21 Feb 2020 11:48:39 +0100
Subject: [PATCH] add timeout load list

---
 .../app/sendedResource/sended-resource-list.component.ts       | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/frontend/app/sendedResource/sended-resource-list.component.ts b/src/frontend/app/sendedResource/sended-resource-list.component.ts
index 5632c6a9703..b789bbfe524 100644
--- a/src/frontend/app/sendedResource/sended-resource-list.component.ts
+++ b/src/frontend/app/sendedResource/sended-resource-list.component.ts
@@ -266,6 +266,9 @@ export class SendedResourceListComponent implements OnInit {
                 filter((data: string) => data === 'success'),
                 tap(() => {
                     this.loadList();
+                    setTimeout(() => {
+                        this.loadList(); 
+                    }, 3000);
                 }),
                 catchError((err: any) => {
                     this.notify.handleSoftErrors(err);
-- 
GitLab