You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
:
The text was updated successfully, but these errors were encountered:
I'm sure there's a nicer way to handle it than an empty catch block, but this is a huge issue for us. We're going to have to fork if this is not fixed because we regularly switch hide and show the button through an *ngIf.
Dsscription
When
FlatfileButtonComponent
'sngOnDestroy
is called beforengOnInit
, theflatfileImporter
field isn't initialized throwing an error during thengOnDestroy
.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 thengOnDestroy
is.Screenshot

:The text was updated successfully, but these errors were encountered: