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

add timeout load list

parent dd2cfbce
No related branches found
No related tags found
No related merge requests found
...@@ -266,6 +266,9 @@ export class SendedResourceListComponent implements OnInit { ...@@ -266,6 +266,9 @@ export class SendedResourceListComponent implements OnInit {
filter((data: string) => data === 'success'), filter((data: string) => data === 'success'),
tap(() => { tap(() => {
this.loadList(); this.loadList();
setTimeout(() => {
this.loadList();
}, 3000);
}), }),
catchError((err: any) => { catchError((err: any) => {
this.notify.handleSoftErrors(err); this.notify.handleSoftErrors(err);
......
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