From 5686edbffd6306a10794c8a53b920ff4846b2ee2 Mon Sep 17 00:00:00 2001 From: Andria Capai Date: Wed, 31 Jan 2024 17:03:01 +0100 Subject: [PATCH] refactor: remove useless timeout Reviewed-by: andriac --- .../imports/components/import_list/import-list.component.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/frontend/src/app/modules/imports/components/import_list/import-list.component.ts b/frontend/src/app/modules/imports/components/import_list/import-list.component.ts index 052923b017..690224120f 100644 --- a/frontend/src/app/modules/imports/components/import_list/import-list.component.ts +++ b/frontend/src/app/modules/imports/components/import_list/import-list.component.ts @@ -62,11 +62,9 @@ export class ImportListComponent implements OnInit { }); this.selectDestinationForm.valueChanges.subscribe((desCode: DestCode) => { - setTimeout(() => { if (desCode == this.selectDestinationForm.value) { this.updateOnDest(desCode); } - }, 500); }); }