Dsscription
When FlatfileButtonComponent's ngOnDestroy is called before ngOnInit, the flatfileImporter field isn't initialized throwing an error during the ngOnDestroy.
Notes
This issue can happen when a route change is triggered before the component is properly initialized. In this situation the ngOnInit isn't called but the ngOnDestroy is.
Screenshot

: