Skip to content

CSVButton only works 'every other' click #156

@licarpen

Description

@licarpen

CSVButton should download raw data every time it is clicked. Right now it only triggers downloading on every other click. This is due to the "ready" and "!ready" toggling. The csv file is only downloaded when the CSVDownload component is rendered (see csv-react npm documentation) so every other time this component does not render and the data doesn't download on the click.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions