Skip to content

FlatfileButtonComponent may break during ngOnDestroy #21

Description

@moreira

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

Screen Shot 2021-09-22 at 7 27 55 AM

:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions