Skip to content

Commit

Permalink
refactor: remove useless timeout
Browse files Browse the repository at this point in the history
Reviewed-by: andriac
  • Loading branch information
andriacap committed Jan 31, 2024
1 parent 283df0e commit 5686edb
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
}

Expand Down

0 comments on commit 5686edb

Please sign in to comment.